in reply to TexT::CSV and getline

Can't call method "getline" on an undefined value at D:\Desktop\csvtes +t.pl line 16.
says to me that $csv is undefined.