forgedascendant has asked for the wisdom of the Perl Monks concerning the following question:
What I am doing is creating the hash to these calls. After searching online I put it all together and came up with the following:@idlarge = ($Data_Hash{$Call_Hash{"TST_" . "IDS_Large_1"}}, $Data_Hash +{$Call_Hash{"TST_" . "IDS_Large_2"}}, ... @idsmall = ($Data_Hash{$Call_Hash{"TST_" . "IDS_Small_1"}}, $Data_Hash +{$Call_Hash{"TST_" . "IDS_Small_2"}}, ... @Vg = ($Call_Hash{"OPT_" . "VGS_1"}, $Call_Hash{"OPT_" . "VGS_2"}, ...
From trying to call the hash I can tell you that what I have is not correct. I can get the information in the first level of the hash but nothing beneith it. Can someone please tell me where I have gone wrong in creating the hash? Aaron%Data_Hash = ( %Call_Hash = ( TST_IDS_Large_1 =>2.9E-12, TST_IDS_Large_2 =>1.85E-12, TST_IDS_Small_1 =>1.86E-9, TST_IDS_Small_2 =>2.83E-9, ), OPT_VGS_1 =>0, OPT_VGS_2 =>0.02, );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Hash Within A Hash
by kennethk (Abbot) on May 19, 2009 at 21:23 UTC | |
|
Re: Hash Within A Hash
by grantm (Parson) on May 19, 2009 at 21:21 UTC | |
|
Re: Hash Within A Hash
by CountZero (Bishop) on May 19, 2009 at 21:25 UTC | |
|
Re: Hash Within A Hash
by GrandFather (Saint) on May 20, 2009 at 01:50 UTC | |
|
Re: Hash Within A Hash
by LanX (Saint) on May 19, 2009 at 21:36 UTC | |
|
Re: Hash Within A Hash
by forgedascendant (Novice) on May 19, 2009 at 21:33 UTC | |
by CountZero (Bishop) on May 20, 2009 at 06:03 UTC | |
|
Re: Hash Within A Hash
by Anonymous Monk on May 20, 2009 at 04:26 UTC |