http://www.perlmonks.org?node_id=1003889


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

Programming Perl(4th) page 27

$val ||="2"; # Set $val to 2 if it isn't already "true".

James

There's never enough time to do it right, but always enough time to do it over...

  • Comment on Re: What is the purpose of '||=' in the example code for Spreadsheet::XLSX
  • Download Code