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.
|
|---|
| 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 |