in reply to
Re^2: What does this mean?
in thread
What does this mean?
$$self{_id} //= $id;
checks the definedness of
$$self{_id}
, not of
$id
(as the other suggested snippets do), so it does something completely different (never reset the attribute, instead of prevent assignment of an undefined id).
Perl 6 - the future is here, just unevenly distributed
Comment on
Re^3: What does this mean?
Select
or
Download
Code
In Section
Seekers of Perl Wisdom