In Perl 5.8 release documentation says The syntaxes @a->[...] and %h->{...} have now been deprecated
So question is What is the correct syntax for 5.8 version.
Edited 2003-06-11 by Ovid
In reply to The syntaxes @a->[...] and %h->{...} have now been deprecated by rakesh1377