Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: term in last line of flatfile

by blakem (Monsignor)
on Oct 10, 2002 at 22:57 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://204361]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (7)
As of 2024-04-23 17:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found