Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Concerning Text::CSV_XS getline in while loop

by freddo411 (Chaplain)
on Dec 21, 2004 at 22:45 UTC ( [id://416649]=note: print w/replies, xml ) Need Help??


in reply to Re: Concerning Text::CSV_XS getline in while loop
in thread Concerning Text::CSV_XS getline in while loop

getline() returns an empty arrayref when it runs out of lines in the file so you need to check for an arrayref with no elements.
Makes sense. Oh, and thanks for the pointing getline() out to me.

-------------------------------------
Nothing is too wonderful to be true
-- Michael Faraday

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2024-04-18 11:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found