awohld has asked for the wisdom of the Perl Monks concerning the following question:
If I want to just get the "PointType" by knowing the "idType" how would I do that?$VAR1 = { '1' => { 'PointType' => 'Camera', 'idType' => '1' }, '2' => +{ 'PointType' => 'School', 'idType' => '2' } };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Accessing Element in a Hash Reference
by Zaxo (Archbishop) on Sep 14, 2005 at 07:42 UTC | |
by awohld (Hermit) on Sep 14, 2005 at 07:53 UTC |