Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Redirecting STDOUT from internal function with 5.6.1 restrictions

by borisz (Canon)
on Oct 12, 2004 at 17:03 UTC ( #398595=note: print w/ replies, xml ) Need Help??


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
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
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://398595]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2015-04-26 14:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who makes your decisions?







    Results (488 votes), past polls