[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Omaha.pm] o pager=">/tmp/j"



That's so cool... When I'm in the debugger and I have a big 'ole object
and I want to throw the output of "x" (which shows all the internals of
the object (kind of line Data::Dumper only cleaner)) to a file I can
just change the behavior of the pager ("|" in the debugger) to write to
a file.


  DB<3> o pager=">/tmp/j"
               pager = '>/tmp/j'
 

  DB<4> |x $o_RA

  DB<5> q

$ ls -al /tmp/j
-rw-r--r--    1 jhannah  users     1062485 2006-12-13 13:03 /tmp/j



Shawing,

j