Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

What is the purpose of '||=' in the example code for Spreadsheet::XLSX

by vt220 (Scribe)
on Nov 14, 2012 at 19:42 UTC ( #1003882=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $sheet -> {MaxRow} ||= $sheet -> {MinRow};
    $sheet -> {MaxCol} ||= $sheet -> {MinCol};
    
  2. or download this
    use strict;
    use warnings;
    ...
            }
        }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1003882]
Approved by toolic
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2015-07-30 08:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls