in reply to Re: Populating an undefined hashref in a sub
in thread Populating an undefined hashref in a sub

Any harm in this case with||= ? I need this to work on pre 5.10 perl.
No harm using 'or' instead of 'defined-or' in Perl 5 if the value is always a reference: references are never false values.
  • Comment on Re^2: Populating an undefined hashref in a sub