Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Is this code correctby LanX (Saint) |
on Mar 22, 2021 at 17:34 UTC ( [id://11130148]=note: print w/replies, xml ) | Need Help?? |
> How to assign an uninitialized variable with a proper value ? you probably(?) want $a //= $sixth;
editi.e. $a = $sixth if not defined $a;
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|