Welcome to the Monastery | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
That is some really stinky code. The worst smell comes from #use strict. Uncommenting that line and cleaning up all your variable declarations would highlight the elsif/else/elsif issue noted by haukex. On the basis of that alone this can not be the code that is generating the error you report because this code does not compile and therefore can't run to produce the error described! Another stinky thing is long lists of lines like $worksheet->write($rowCount1 + 1, 0, $t[0]);. while ($sthrows > $Count) { would be much better written for my $row (1 .. sthrows) {.
Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
In reply to Re: bug or curly bracket hell?
by GrandFather
|
|