Your message dated Wed, 07 Aug 2013 20:20:54 +0000
with message-id <[email protected]>
and subject line libspreadsheet-parseexcel-perl: Annoying 0+ overload on
Spreadsheet::ParseExcel::Worksheet - closing
has caused the Debian Bug report #213231,
regarding libspreadsheet-parseexcel-perl: Annoying 0+ overload on
Spreadsheet::ParseExcel::Worksheet
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
213231: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=213231
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libspreadsheet-parseexcel-perl
Version: 0.26.02-1
Severity: normal
For some reason, Spreadsheet::ParseExcel::Worksheet overloads numeric
conversion (0+), which is the kind of thing that easily confuses the
programmer who's up at 3am fixing bugs, and wondering why this doesn't
work:
my $sheet = $book->Worksheet(0) or die ...;
Worksheet does indeed return a valid Worksheet object, but it is
converted to its index (in this case, 0) in boolean context.
I don't know if the author really needs this, er, feature, but I think
most Perl programmers would naturally apply the "do or die" construct to
any function that returns either an object or undef. Having it fail
like this is *very* confusing.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux toroia 2.4.21 #4 Mon Jun 23 21:39:45 EDT 2003 i686
Locale: LANG=en_CA, LC_CTYPE=en_CA
Versions of packages libspreadsheet-parseexcel-perl depends on:
ii libole-storage-lite-perl 0.11-1 Perl5 module with Simple Class for
ii perl 5.8.0-21 Larry Wall's Practical Extraction
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi! I'm closing this bug, since it was tagged "wontfix" for some
years, without answer. If you have new reasons to point out this
problem, please feel free to re-open it.
--- End Message ---