good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: How to print called program to stdoutby TorontoJim (Beadle) |
on Mar 18, 2016 at 20:01 UTC ( [id://1158276]=note: print w/replies, xml ) | Need Help?? |
This may not be what you're looking for, but when I'm testing a script, I redirect STDERR to print to STDOUT. That way I can pepper my script with print statements to see what is going on so that I can debug it. This is how I do it:
Hope that assists you.
In Section
Seekers of Perl Wisdom
|
|