This, of course, has the caveat that it copies the contents, so if it's a huge array that might be bad memory-wise...my @newArray = @$orig;
In reply to Re: Copying an array or hash
by davidrw
in thread Copying an array or hash
by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |