No such thing as a small change | |
PerlMonks |
Re^5: Challenge: Capturing stdout from a function call.by gmpassos (Priest) |
on Oct 24, 2004 at 07:22 UTC ( [id://401978]=note: print w/replies, xml ) | Need Help?? |
Just use tie inside the code that will be evaluated and return $catcher. Maybe you should use eval() and not run() to get this working.
Can't test Perl.pm here since it doens't compile for Win32.
Graciliano M. P.
In Section
Seekers of Perl Wisdom
|
|