|
|
| XP is just a number | |
| PerlMonks |
Re: copying array from a hash referenceby davido (Bishop) |
| on Sep 28, 2011 at 02:37 UTC ( #928221=note: print w/ replies, xml ) | Need Help?? |
|
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 Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||