mikb has asked for the wisdom of the Perl Monks concerning the following question:
Pardon my ignorance, but I've never seen the '||=' construct used before - could some kindly soul explain what it achieves (extra points if you can explain it in this context :-) )$sheet->{MaxRow} ||= $sheet->{MinRow}; foreach my $row ($sheet->{MinRow} .. $sheet->{MaxRow}) {
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Logical Assignment Op (with Spreadsheet::ParseExcel)
by kyle (Abbot) on May 17, 2007 at 20:45 UTC | |
by FunkyMonk (Bishop) on May 17, 2007 at 21:49 UTC |