Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Column Heading and Split Function

by McA (Priest)
on Mar 28, 2013 at 15:57 UTC ( #1025990=note: print w/replies, xml ) Need Help??


in reply to Title of Column and Split Function

open my $fh, "<", "filename" or die $!; my $headerline = <$fh>; unless(defined $headerline) { die "ERROR: Couldn't read header line: Bad file format?"; } while(my $line = <$fh>) { process($line); } close $fh or die $!;

McA

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1025990]
help
Chatterbox?
and not a whimper to be heard...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2017-06-26 02:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (572 votes). Check out past polls.