Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2017-01-20 12:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (174 votes). Check out past polls.