in reply to Re^3: How to create a new array with the same name as an existing one in a loop?
in thread How to create a new array with the same name as an existing one in a loop?

«…i want to be able to copy everything…»

Probably this is possible:

use MyClass; use Storable qw(dclone); my $object = MyClass->new(); my $clone = dclone($object); # NB.: Untested

But I doubt that you really want this.

«The Crux of the Biscuit is the Apostrophe»

  • Comment on Re^4: How to create a new array with the same name as an existing one in a loop?
  • Download Code