Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

RE (2): Filehandle Filter

by tilly (Archbishop)
on Aug 11, 2000 at 05:23 UTC ( [id://27432]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Filter::Handle;
    use strict;
    ...
    *printf = *PRINTF;
    
    1;
    
  2. or download this
    my $out = new Filter::Handle(\*STDOUT);
    $out->print("Hello world\n");
    $out->printf("%s %s\n", "Hello", "world");
    
  3. or download this
    tie (*OUT, 'Filter::Handle', \*STDOUT);
    select(OUT);
    print "Hello world\n";
    printf ("%s %s\n", "Hello", "world");
    

Log In?
Username:
Password:

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

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

    No recent polls found