Subject: | PPI does not recognize @{$hash}{'foo', 'bar'} as slice on hash reference |
In @{$hash}{'foo', 'bar'}, PPI identifies the second set of curly
brackets as a block, when in fact they represent the subscripts for a
slice of a hash reference.
Svn revision 9109 represents a proposed fix to this, also picking
'${$hash}{foo}', which is a less-clear form of '$hash->{foo}'.
The implementation causes a left curly preceded by a block, which in
turn is preceded by a cast of '$' or '@', to be recognized as a subscript.