in reply to copying array from a hash reference
If it's
@a
with an array, it's
@{ $ar }
with an array reference, so it's
@{ $AniType{cats} }
in this case.
Dereferencing Syntax
Reference Quick Reference
|
---|
In Section
Seekers of Perl Wisdom
in reply to copying array from a hash reference
If it's
@a
with an array, it's
@{ $ar }
with an array reference, so it's
@{ $AniType{cats} }
in this case.
Dereferencing Syntax
Reference Quick Reference
|
---|