Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: monitor STDOUT in scalar

by btrott (Parson)
on Aug 10, 2000 at 06:32 UTC ( [id://27235]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        package MySTDOUT;
        use Tie::Handle;
    ...
    
        package main;
        tie *STDOUT, 'MySTDOUT';
    
  2. or download this
        package MySTDOUT;
        use Tie::Handle;
    ...
        tie *STDOUT, 'MySTDOUT';
    
        print "Foo";
    
  3. or download this
        main: Foo
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-23 13:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found