in reply to Acessing an array element in a hash
As far as I understand this on a first glance, you're printing an array, so thats normal behaviour you're showing (assuming I'm right on my assumptions on what values $key_hash, $key, $oid carry).
I guess you want to access element 1 in the nested array you're dereferencing with something like
@${$key_hash{$key}{$oid}[0]}[1] to get to the 1.
regards,
tomte
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re2: Acessing an array element in a hash
by dragonchild (Archbishop) on Mar 26, 2003 at 15:23 UTC |