Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: reading file into an array

by johngg (Abbot)
on Dec 05, 2008 at 22:16 UTC ( #728402=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $linesToSkip = 14;
    my $discard = <$file> for 1 .. $linesToSkip;
    ...
        chomp $line;
        ...
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://728402]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2018-06-18 08:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (109 votes). Check out past polls.

    Notices?