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