> Snatch two syntax constructs away from the jaws of illegal syntax and
> an unfortunate syntax, and make them useful weapons of the Perl
> arsenal.  The constructs are:
> 
>       $ref->[[LIST]]
>       $ref->{{LIST}}
>       
> The proposed respective meanings:
> 
>       $ref->[$elem[0]]->[$elem[1]}->[...]->[$elem[-1]]
>       $ref->{$elem[0]}->{$elem[1]}->{...}->{$elem[-1]}

By saying  $hashref->{[LIST]} instead of $hashref->{{LIST}},
the only thing you would change is the semantics of the expression,
not the [il]legality.

-- 
John Porter

        We're building the house of the future together.

Reply via email to