Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the PPI CPAN distribution.

Report information
The Basics
Id: 49826
Status: resolved
Priority: 0/
Queue: PPI

People
Owner: Nobody in particular
Requestors: wyant [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: PPI does not recognize @{$hash}{'foo', 'bar'} as slice on hash reference
Download (untitled) / with headers
text/plain 437b
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.
This looks to me like it is fixed in 1.208. Thank you very much.
Reported as fixed


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.