in reply to
Re: Help - I'm a C programmer
in thread
Help - I'm a C programmer
Would you point me in the right direction to understand the %$ and the $$? I looked in my "Programming Perl" book but didn't find anything.
Thanks,
tl
Comment on
Re: Re: Help - I'm a C programmer
Replies are listed 'Best First'.
Re: Re: Re: Help - I'm a C programmer
by
marcink
(Monk)
on Jun 18, 2001 at 00:51 UTC
The
%$hashref
construct is just a shortcut for
%{ $hashref }
.
$$hashref{$key}
is similar, just takes a single value from hash.
-mk
[reply]
[d/l]
[select]
In Section
Seekers of Perl Wisdom