Subject: | Odd issue, not entirely sure if it's a bug in Text::CSV_XS |
Date: | Fri, 9 May 2014 21:38:33 +0000 |
To: | "bug-Text-CSV_XS [...] rt.cpan.org" <bug-Text-CSV_XS [...] rt.cpan.org> |
From: | Bruce Johnson <johnson [...] Pharmacy.Arizona.EDU> |
When I’m using a CGI->upload file handle, I get the error:
"Undefined subroutine Fh::getline” when I try to use the ‘getline’ method.
If I write the uploaded file to a temp file, then open that as an input file handle for Text::CSV_XS it works as expected.
I’ve attached two scripts (filetestbroke.pl shows the error in the logs, and nothing in the web browser, and filetestworks.pl works as expected, displaying the contents of the csv file) and a test.csv file that successfully reproduces the error.
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.