I believe you meant:
print @{ $hashRef }{'a','d'};
Your code attempts to deref $hashRef->{join $;,'a','d'} which is undefined.
antirice
The first rule of Perl club is - use Perl
The ith rule of Perl club is - follow rule i - 1 for i > 1
In reply to Re: Re: Pulling Array Out of Hash Reference
by antirice
in thread Pulling Array Out of Hash Reference
by enoch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |