in reply to Re: Pulling Array Out of Hash Reference
in thread Pulling Array Out of Hash Reference
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Pulling Array Out of Hash Reference
by tye (Sage) on Apr 12, 2004 at 23:24 UTC | |
by antirice (Priest) on Apr 13, 2004 at 00:13 UTC | |
|
Re: Re: Re: Pulling Array Out of Hash Reference
by kvale (Monsignor) on Apr 12, 2004 at 23:22 UTC |