That message indicates that you are using a very old Spreadsheet::Read, as ReadData () accepts (multiple) options since at least 2007 (that is how far my git repo goes back).
$ cat test.csv
foo;bar;dog
1;2;Bull
$ perl -MData::Peek -MSpreadsheet::Read -wle'my $ref = ReadData ("test
+.csv", sep => ";",quote => q{"});DDumper $ref'
[
{ parser => 'Text::CSV_XS',
quote => '"',
sepchar => ';',
sheet => {
'test.csv' => 1
},
sheets => 1,
type => 'csv',
version => '0.73'
},
{ A1 => 'foo',
A2 => 1,
B1 => 'bar',
B2 => 2,
C1 => 'dog',
C2 => 'Bull',
attr => [],
cell => [
[],
[ undef,
'foo',
1
],
[ undef,
'bar',
2
],
[ undef,
'dog',
'Bull'
]
],
label => 'test.csv',
maxcol => 3,
maxrow => 2
}
]
$
Enjoy, Have FUN! H.Merijn
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.