in reply to Copying an array or hash
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Copying an array or hash
by tphyahoo (Vicar) on Dec 05, 2005 at 14:22 UTC |