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
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery
In reply to Re^3: Action at a distance
by LanX
in thread Action at a distance
by syphilis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |