in reply to Re^2: Arrow operator usage in perl
in thread Arrow operator usage in perl
$hwwns->{$hwpath} = $hwwn;
Even if the reference was not used before, Perl will happily create a new one for you. The process is called "autovivification".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Arrow operator usage in perl
by dvinay (Acolyte) on Nov 09, 2013 at 19:02 UTC | |
by choroba (Cardinal) on Nov 09, 2013 at 19:14 UTC | |
by karlgoethebier (Abbot) on Nov 10, 2013 at 16:43 UTC |