good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Redirecting STDOUTby Sidhekin (Priest) |
on Feb 11, 2007 at 13:14 UTC ( [id://599457]=note: print w/replies, xml ) | Need Help?? |
Test::More->diag() and other test methods are not printing to STDOUT, but to three Test::Builder file handles that default to (dupes of) STDOUT/STDERR/STDOUT respectively. If you want them all to print to your local STDOUT, I guess this would do it:
For more detail, see Test::Builder. Update: I couldn't stand to see the cut-and-pasted list of handle names, so I added a variable for it. How's that for obsessive? :-P
print "Just another Perl ${\(trickster and hacker)},"
In Section
Seekers of Perl Wisdom
|
|