You need to dereference the array-ref if you're going to copy it to a new array:
@AniAry = @{$AniType{cats}}...for example. perlref, perlreftut, perldsc are good sources of information. If you plan to use Perl, they're worth investing the time reading.
Dave
In reply to Re: copying array from a hash reference
by davido
in thread copying array from a hash reference
by Greg_R
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |