Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: term in last line of flatfile

by blakem (Monsignor)
on Oct 10, 2002 at 22:57 UTC ( #204361=note: print w/replies, xml ) Need Help??


in reply to term in last line of flatfile

How can i skip the last line in a flatfile
You could use eof() like this:
while(<PAST>) { last if eof(PAST); ... }

-Blake

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2019-08-22 06:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?