Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 contemplating the Monastery: (5)
As of 2015-07-06 06:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls