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