in reply to Re^2: lightweight CSV parser
in thread lightweight CSV parser

That appears to be a filehandle reference, not a regular string ...

Well, if you insist http://search.cpan.org/perldoc/Text::CSV#SYNOPSIS only works with files, that is how you treat a regular string ($stringOfCsv), as a filehandle