Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Streaming to Handles

by crabbdean (Pilgrim)
on May 01, 2004 at 07:40 UTC ( #349582=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (<LOGFILE>) {
                ## do something with $_
    }
    
  2. or download this
    foreach ($f->list) {
                ## do something with $_
    }
    
  3. or download this
    #!perl
    
    ...
    foreach ($f->list) {  ##problem??
        print "$_\n";
    }
    
  4. or download this
    package List;
    
    ...
        $path = cwd unless @_ > 1;
        $self->{path} = $path;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://349582]
Approved by DigitalKitty
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (15)
As of 2014-07-10 14:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (212 votes), past polls