Here some approaches
See perldebguts#Writing-Your-Own-Debugger for inspiration.
For instance PERL5DB="sub DB::DB { print $var }" perl -d your-script should continously print $var for each statement. (Untested)
HTH
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In reply to Re: How can I print variable contents from the debugger non-interactively?
by LanX
in thread How can I print variable contents from the debugger non-interactively?
by davehorner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |