On Wed, 11 Jul 2001, David L. Nicol wrote:
>
> Statistics break at the edges. I meant something that
> will expand
>
> $$$name[5]{cheese}
>
> into
[snip]
> my $RVAL;
> eval {
> $RVAL = ${${${name}[5]}{cheese}}
> }; # normal parse: the sixth element
> # in @name refers to a hash. Created like
> # $H{cheese} = 'ducati'; $name[5] = \%H;
You do realize that the actual parsing of $$$name[5]{cheese} is
${${${name}}}[5]{cheese}
created like
$H{cheese} = 'ducati';
$A[5] = \%H;
$S = \@A;
$name = \$S;
right?
I'm not exactly sure what, if anything, this is an argument for.
--
Ilmari Karonen - http://www.sci.fi/~iltzu/
"This must be a use of the word 'obvious' of which I was previously unaware."
-- Charles Martin in rec.arts.sf.science