New operator => for specifying keyword-value pairs: |
%hash = ( 'key1', 'value1', 'key2', 'value2' ); |
# is equivalent to |
%hash = ( 'key' => 'value1', 'key2' => 'value2' ); |
New operator -> is dereferencing operator
|
In hash arrays, quotes are now optional if unambiguous, i.e. if couldn't be an expression |
$days{'Feb'} and $days{Feb} are the same! |