in reply to The syntaxes @a->[...] and %h->{...} have now been deprecated

$a->[...];

$h->{...};

This has always been the correct syntax. The forms you show only worked because of an ommision.

There was a recent thread discussing this %h->{foo} vs. $h{foo}.. which you may like to read as it will save it being repeated again here.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller


Replies are listed 'Best First'.
Re: Re: The syntaxes @a->[...] and %h->{...} have now been deprecated
by rakesh1377 (Novice) on Jun 12, 2003 at 07:28 UTC
    Thank you very much. My query is now resolved.