Also take a look at this Q&A node for IO::Handle solutions: how do i redirect STDOUT, STDIN, or STDERR to a FILE?use IO::Scalar; my $s; tie *STDOUT, 'IO::Scalar', \$s; print "line 1\nline 2\n", "line 3\n"; warn "String is now: $s\n"
In reply to Re: Parsing Text from Object Header that prints to STDOUT
by davidrw
in thread Parsing Text from Object Header that prints to STDOUT
by monkfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |