Mumia W. wrote:
On 08/08/2006 12:12 PM, n[ate]vw wrote:
That gets repetitive, so I'd like to simplify it this way:
@[EMAIL PROTECTED]'EST'};
print $info[3];
...but that doesn't work! Nothing prints. What am I doing wrong?
You're not using the array reference in zone_info correctly.
my $info = $zone_info{'EST'};
print $info->[3];
Thank you Mumia and John. That was the ticket. I was wondering when I'd
get to use references!
-natevw
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>