New operator => is equivalent to , and use if you feel it looks better |
%hash = ( 'key1' , 'value1', 'key2' , 'value2' ); # perl4 is same as |
%hash = ( 'key' => 'value1', 'key2' => 'value2' ); # perl5 |
New Operator -> is dereferencing operator
|
in hash arrays , quotes are now optional if unambiguous i.e. couldn't be an expression |
$days{'Feb'} and $days{Feb} are the same! |