Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
using the following code returns "ifInNUcastPkts.27 1"$VAR1 = { 'response_1.3.6.1.2.1.2.2.1.12.27' => { 'Time_Arrived' => '16:14:13.8', 'Error_Status' => 'No error', '1.3.6.1.2.1.2.2.1.12.27' => [ [ 'ifInNUcastPkts.27', 1 ] ] }, 'request_1.3.6.1.2.1.2.2.1.12.20' => { 'Time_Arrived' => '16:14:15.8', 'Error_Status' => 'No error', '1.3.6.1.2.1.2.2.1.12.20' => [ [ 'ifInNUcastPkts.20', 1 ] ] },
print "@{$key_hash{$key}{$oid}[0]}\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Acessing an array element in a hash
by dragonchild (Archbishop) on Mar 26, 2003 at 15:23 UTC | |
|
Re: Acessing an array element in a hash
by Mr. Muskrat (Canon) on Mar 26, 2003 at 15:25 UTC | |
|
Re: Acessing an array element in a hash
by artist (Parson) on Mar 26, 2003 at 15:27 UTC | |
by Anonymous Monk on Mar 26, 2003 at 15:38 UTC | |
|
Re: Acessing an array element in a hash (that time)
by tye (Sage) on Mar 26, 2003 at 17:44 UTC | |
|
Re: Acessing an array element in a hash
by Tomte (Priest) on Mar 26, 2003 at 15:21 UTC | |
by dragonchild (Archbishop) on Mar 26, 2003 at 15:23 UTC | |
|
Re: Acessing an array element in a hash
by OM_Zen (Scribe) on Mar 26, 2003 at 16:43 UTC |