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

Jay Hannah jhannah at omnihotels.com
Wed Dec 13 11:34:32 PST 2006


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


More information about the Omaha-pm mailing list