http://www.perlmonks.org?node_id=758089


in reply to Perl Debugger capturing output from the 'x' command while in a debug session

I'm not in a place where I can test this, but try:
script -c 'perl -d myscript.pl' logfile.txt
It will log the whole debugging session.
  • Comment on Re: Perl Debugger capturing output from the 'x' command while in a debug session
  • Download Code

Replies are listed 'Best First'.
Re^2: Perl Debugger capturing output from the 'x' command while in a debug session
by x5150 (Acolyte) on Apr 16, 2009 at 23:06 UTC
    Yes, this works! Thanks. It would still be interesting to see if you could capture just that single 'x' command output only.