Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 lurking in the Monastery: (13)
As of 2014-09-17 19:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (97 votes), past polls