Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Redirecting STDOUT from internal function with 5.6.1 restrictions

by tmoertel (Chaplain)
on Oct 12, 2004 at 21:59 UTC ( #398709=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
        use File::Temp qw( tempfile );
                return $captured_output;
  2. or download this
        print STDERR "before redirection\n";
        print STDERR "after redirection\n";
        print "Saved output = $saved_output";
  3. or download this
        before redirection
        after redirection
        Saved output = during redirection

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://398709]
Discipulus i'm doing an hard work to convince hime to not leave perl nor pm... many direct mails too
[marto]: who?
[Eily]: "hime"? The perl princess?
[Discipulus]: oops !

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2017-06-23 09:42 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (539 votes). Check out past polls.