Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 6673
Status: resolved
Priority: 0/
Queue: PAR

People
Owner: smueller [...] cpan.org
Requestors: svvitale [...] comcast.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.83
Fixed in: (no value)



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.
[guest - Fri Jun 18 18:14:51 2004]: Show quoted text
> 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. >
I confirm the same problem (and thanks for the workaround) Niel Lambrechts
Hi, sorry for the late reply. I consider this a bug in Spreadsheet::ParseExcel. Nonetheless, I have modified PAR so that it patches Spreadsheet::ParseExcel when packing it. The patch will be in PAR 0.94. Can you try with the current subversion version of PAR? You can get it from http://svn.openfoundry.org/par/ Steffen