Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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: (6)
As of 2015-07-02 00:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (25 votes), past polls