Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 imbibing at the Monastery: (14)
As of 2014-07-29 14:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (218 votes), past polls