Just another Perl shrine | |
PerlMonks |
Re^3: Action at a distanceby LanX (Saint) |
on Nov 03, 2022 at 19:49 UTC ( [id://11147954]=note: print w/replies, xml ) | Need Help?? |
> BTW, what prevents me from doing something like this? Nothing. You can always do it explicitly, as long as a ->clone method is available. But the OP wants this to happen implicitly, when he does my $copy = $magic_object;
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|