Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Deleting Multiple Header Lines From CSV

by FunkyMonk (Chancellor)
on Jul 26, 2007 at 15:50 UTC ( #628962=note: print w/replies, xml ) Need Help??


in reply to Deleting Multiple Header Lines From CSV

<$fh> will read a single line from your file, so just add two of them:
open (my $fh,”<”,$file) or die “Can’t open file $file: $!”; <$fh>; # discard first <$fh>; # two lines while (my $line = <$fh>) { chomp($line); #blah }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2021-06-22 17:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (108 votes). Check out past polls.

    Notices?