Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Better way of doing!

by jwkrahn (Monsignor)
on Aug 12, 2013 at 13:07 UTC ( #1049118=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while(<@eachline>){
    
  2. or download this
    $ perl -MO=Deparse -e'while(<@eachline>){}'
    use File::Glob ();
    ...
        ();
    }
    -e syntax OK
    
  3. or download this
    $ perl -le'my @eachline = ( "one two three four\n", "five six seven ei
    +ght\n" ); while(<@eachline>){print}'
    one
    ...
    six
    seven
    eight
    
  4. or download this
    use strict; 
    use warnings;
    ...
    
    close $FILEHANDLE;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2014-10-25 14:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (143 votes), past polls