in reply to Spreadsheet::Read not reading CSV data passed as string
Well, no need to pray at line 547 in Spreadsheet::Read .-)
It should be
- $in = $txt; # Now pray ... + open $in, '<', \$txt or return;
since below follows
while (my $row = $csv->getline ($in)) {
which doesn't work on a plain string, but on a file handle.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Spreadsheet::Read not reading CSV data passed as string
by Tux (Canon) on Jul 30, 2017 at 09:12 UTC | |
by shmem (Chancellor) on Jul 30, 2017 at 09:35 UTC | |
by Tux (Canon) on Jul 30, 2017 at 09:42 UTC |