Hello,

I have searched the internet but didn't found a good answer.
How do I clone a Perl Object?

For example like this:

$a = My::Object->new();
$b = $a->clone();

Where $b is an exact copy of $a but in its own memory.

Greets
Christoph

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to