|CC:||<jmcnamara [...] cpan.org>, <szabgab [...] cpan.org>, <kwitknr [...] cpan.org>|
|Subject:||Utility.pm - problem observed|
|Date:||Tue, 10 Mar 2009 16:04:50 -0700|
|To:||<bug-Spreadsheet-ParseExcel [...] rt.cpan.org>|
|From:||"Sripad Sambrani" <sripad.sambrani [...] actel.com>|
Message body is not shown because sender requested not to inline it.
Hi, Please note the following with regard to the PERL module Utility.pm. While testing my script using MSExcel parser on Linux platform, following messages were reported on console. Use of uninitialized value in substitution (s///) at /soft/gnu-os/perl-5.8.0/lib/site_perl/5.8.0/Spreadsheet/ParseExcel/Utility. pm line 183. Use of uninitialized value in substitution (s///) at /soft/gnu-os/perl-5.8.0/lib/site_perl/5.8.0/Spreadsheet/ParseExcel/Utility. pm line 188. Use of uninitialized value in length at /soft/gnu-os/perl-5.8.0/lib/site_perl/5.8.0/Spreadsheet/ParseExcel/Utility. pm line 209. When Utilty.pm at my installation path was checked, it was observed to have the contents marked in the attached file utility_pm.PNG. Please note this is captured after opening the module in VIM and hence shows line numbers in the left column. Also note the comment on line 170 in context of line 171, shown below for reference. # TODO. Replace string eval with a function. $section = eval "$number $conditional" ? 0 : 1; I observe variable $section (line 171 shown above) remains uninitialized on account of missing function for eval. This variable, in turn, is used to extract required format in variable $format (refer line 175 in file attached). Hence the messages shown were reported for $format on lines 183, 188 & 209. Please clarify. Regards, Sripad.