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 ( #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?
[LanX]: good morning
[choroba]: LanX good indeed
[choroba]: very cloudy here, I planned to make some picrures, but now I don't think so
[LanX]: do you like it better now?

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2017-02-26 04:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (371 votes). Check out past polls.