Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 taking refuge in the Monastery: (16)
As of 2015-06-03 18:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What kind of chocolate gives you the most pleasure?















    Results (138 votes), past polls