Login
RT #61301: Bug in policy
authorTom Wyant <harryfmudd@comcast.net>
Tue, 1 Mar 2011 20:38:18 +0000 (20:38 +0000)
committerTom Wyant <harryfmudd@comcast.net>
Tue, 1 Mar 2011 20:38:18 +0000 (20:38 +0000)
commit45a557b1593cb7aa0937cb8a3431ceb3eea87bad
tree4dcc00b02038ade8e143e415e59a62c225f976b8
parent48ccbca9369641a93a6ef5b6171575187b23a9ff
RT #61301: Bug in policy
ValuesAndExpressions::ProhibitCommaSeparatedStatements

This was really a PPI bug (the Perl docs say return {...} is a hash
constructor, but PPI was making it a block), fixed in PPI 1.215.

This commit bumps the PPI dependency to 1.215, and adds a test to
t/ValuesAndExpressions/ProhibitCommaSeparatedStatements.run to try to
make sure it stays fixed.
Changes
inc/Perl/Critic/BuildUtilities.pm
t/ValuesAndExpressions/ProhibitCommaSeparatedStatements.run