Subject: | Bug because of POD block (=cmmt...=cut) in ParseExcel.pm |
When building an .exe that uses Spreadsheet::ParseExcel (0.15), running the exe produces a compile error in Spreadsheet/ParseExcel.pm (mismatched curly brace error). Looking in ParseExcel.pm, I found this starting on line 1033:
sub _subContinue($$$$)
{
my($oBook, $bOp, $bLen, $sWk) = @_;
=cmmt
if(defined $oThis->{FuncTbl}->{$bOp}) {
$oThis->{FuncTbl}->{$PREFUNC}->($oBook, $bOp, $bLen, $sWk);
}
=cut
_subStrWk($oBook, $sWk, 1) if($PREFUNC == 0xFC);
After building with PAR, the =cut line was commented out, but not the 4 preceeding lines. I manually commented out all 5 lines in the original source file, rebuilt with PAR, and everything worked fine.