I cannot tell without seeing your constructor. How did you initialize $csv?
In reply to Re: Text::CSV_XS issue by Tux in thread Text::CSV_XS issue by kevind0718