There's more than one way to do things | |
PerlMonks |
Re: accessing a hash of hashesby tomhukins (Curate) |
on Feb 15, 2005 at 11:34 UTC ( [id://431115]=note: print w/replies, xml ) | Need Help?? |
Take a look at Perl's perlreftut and perlref documentation. Each item in %urls contains a hash reference. To access this hash reference as a hash, use %$key. To access the value of a key directly from a hash reference, use the -> operator.
In Section
Seekers of Perl Wisdom
|
|