rapide has asked for the wisdom of the Perl Monks concerning the following question:
Module::printData; my @data = STDOUT
I want to capture all the STDOUT information from the function "printData" without it printing to STDOUT.
Any suggestions?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to redirect STDOUT to an array (not executing program)
by cdarke (Prior) on Jan 18, 2009 at 11:55 UTC | |
by rapide (Beadle) on Jan 18, 2009 at 12:57 UTC | |
|
Re: How to redirect STDOUT to an array (not executing program)
by Corion (Patriarch) on Jan 18, 2009 at 11:44 UTC |