in reply to Redirecting STDOUT from internal function with 5.6.1 restrictions

Instead of
open STDOUT, '>', \$stdout or die "redirect STDOUT: $!";
use IO::Stringy or IO::String to capture the data.
Boris
  • Comment on Re: Redirecting STDOUT from internal function with 5.6.1 restrictions
  • Download Code

Replies are listed 'Best First'.
Re^2: Redirecting STDOUT from internal function with 5.6.1 restrictions
by mgc (Novice) on Oct 12, 2004 at 17:38 UTC
    Thanks for the idea, however, the module IO::String(y)
    apparently is not part of the core modules in 5.6.1 and
    the sysadmins in their infinate wisdom decided not to 
    load that one :<
    
    mgc