Ravi Malghan wrote:

> Hello: I am trying to create and access a
> multidimensional hash.
>
> For example the following works
> ======
> $route {$routeDest} = $cost ;
> print "$routeDest, Cost: $route{$routeDest}\n"
> =====
>
> But the following does not print the
> $route{$NODE}{$routeDest}
> ==========
> $route {$NODE}{$routeDest} = $cost;
> print "$route on $NODE cost:
> $route{$NODE}{$routeDest};
> ==========
> What am I doing wrong here?

Probably running away from the challenge of understanding
references.  Until you take it on, you are SOL for
multidimensional structures.

Joseph


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

Reply via email to