use Storable qw(dclone); my @a = ([2, 3], [5, 6]); my $copy_ref = dclone(\@a); my @copy = @{ dclone(\@a) };
(Untested, no perl available atm :()
In reply to Re: Questions about using array-of-arrays
by moritz
in thread Questions about using array-of-arrays
by jep1978
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |