Looks like you'll have to settle for an intermediary file (open STDOUT, '>', ...).close STDOUT; # comment out to see the difference, try opening STD +OUT to something else use Perl; my $p = Perl->new( ARGV => [ '-le', 'print(1)for(1..22)'] ); $p->run;
In reply to Re: Challenge: Capturing stdout from a function call.
by PodMaster
in thread Challenge: Capturing stdout from a function call.
by BUU
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |