Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Redirecting STDOUT from internal function with 5.6.1 restrictions

by borisz (Canon)
on Oct 12, 2004 at 17:03 UTC ( [id://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

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
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-03-28 13:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found