Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

RE (2): Filehandle Filter

by tilly (Archbishop)
on Aug 11, 2000 at 05:23 UTC ( #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
Node Status?
node history
Node Type: note [id://27432]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2014-08-27 11:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (237 votes), past polls