P is for Practical | |
PerlMonks |
Re: Perl Test - Capture print statementsby Zaxo (Archbishop) |
on Jul 10, 2007 at 21:34 UTC ( [id://625932]=note: print w/replies, xml ) | Need Help?? |
You could localize STDOUT, opening it to a variable. That takes Perl 5.8+ for opening a handle to a variable. ++fenLisesi caught a thinko in text, s/STDERR/STDOUT/. Repaired. After Compline,
In Section
Seekers of Perl Wisdom
|
|