|
[text/plain 613b]
Hello,
The undocumented numification overload on
Spreadsheet::ParseExcel::Worksheet makes it behave strongly
contraintuitively, as the first sheet evaluates to false in boolean
context. This falsifies the common assumption that
if($book->Worksheet($name)) and if(defined $book->Worksheet($name)) are
equivaltent as the return value is supposed to be an object and such
assumptions holds for majority of Perl object. In addition the overload
does not really seem to be useful. So I suggest removing it, or at
least documenting it.
--
- Jan Hudec <bulb[...]ucw.cz>
|