Hi there,

Here is my dilema:
%HoH = (
        flintstones => {
                lead1      => "fred",
                pal1       => "barney",
        },
        jetsons     => {
                lead2      => "george",
                wife2      => "jane",
                "his boy"3 => "elroy",
        },
        simpsons    => {
                lead3      => "homer",
                wife3      => "marge",
                kid3       => "bart",
        },
 );

$HoH{$key1}{$key2} is the basic structure of my hash. while I am reading from another 
file
that provides 3 variables if $var1 eq flintsones and $var2 eq pal1, then:
$HoH{$var1}{$var2} = "barney".
Is ther a way that if $var1 eq "anything" and $var2 eq pal1 I can still get "barney".

Any help is highly appreciated

I.S


__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the 
convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to