On Jul 5, Bob Mangold said:
>print ${${$hashREF}{'foo'}}[1];
I posted earlier this week that
$$ref[$idx] (and ${$ref}[$idx] too)
and
$ref->[$idx]
are the same. So...
$$hashref{foo}
is
$hashref->{foo}
and then
${ $hashref->{foo} }[1]
is
$hashref->{foo}->[1]
which can be shrunk to
$hashref->{foo}[1]
--
Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
I am Marillion, the wielder of Ringril, known as Hesinaur, the Winter-Sun.
Are you a Monk? http://www.perlmonks.com/ http://forums.perlguru.com/
Perl Programmer at RiskMetrics Group, Inc. http://www.riskmetrics.com/
Acacia Fraternity, Rensselaer Chapter. Brother #734
** Manning Publications, Co, is publishing my Perl Regex book **