Clear questions and runnable code
get the best and fastest answer
Re: Redirecting STDOUT from internal function with 5.6.1 restrictionsby Jenda (Abbot)
|on Oct 12, 2004 at 18:22 UTC||Need Help??|
Looks to me like the docs of Test.pm need to be improved. If you look into the source you can see that the module makes a reference to the STDOUT as soon as it's used and then prints to that reference.
Anyway it seems that all you need to do is this:
to redirect the output and
to switch it back.