Subject: | Can't use an undefined value as an ARRAY reference at /usr/bin/xls2csv line 140. |
xls2csv -x "MBL_ACC_FEED_FULL_PATH.xls" -b CP856 -c "csvfile.csv" -a UTF-8
Now reading "MBL_ACC_FEED_FULL_PATH.xls" as CP856.
Can't use an undefined value as an ARRAY reference at /usr/bin/xls2csv
line 140 (#1)
(F) A value used as either a hard reference or a symbolic reference must
be a defined value. This helps to delurk some insidious errors.
Uncaught exception from user code:
Can't use an undefined value as an ARRAY reference at
/usr/bin/xls2csv line 140.
at /usr/bin/xls2csv line 140
line 140
else
{
($Sheet) = @{$Book->{Worksheet}};
if (!$O{'q'} && $Book->{SheetCount}>1)
{
print qq|Multiple worksheets found. Will convert the
"$Sheet->{Name}" worksheet.\n|;
}
}
[root@VO12044 kev]# perl -v
This is perl, v5.8.8 built for x86_64-linux-thread-multi
Copyright 1987-2006, Larry Wall
Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.