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: 20480
Status: resolved
Priority: 0/
Queue: PPI

Owner: Nobody in particular
Requestors: thaljef [...]

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

Subject: Misparse of some floating-point numbers.
Download (untitled) / with headers
text/plain 183b
PPI misparses floating-point numbers that don't have any digits to the left of the decimal point. For example: .1234 parses as PPI::Token::Operator '.' PPI::Token::Number '1234'
I added a failing regression test to PPI SVN for this.
Download (untitled) / with headers
text/plain 281b
Fixed the failing regression test. The fix is a little dubious, it might do something weird for C< "foo" .1234 > but that's a relatively rare case, and a full operator/operand fix will take more work. Will wait until I see examples failing in the wild before doing that though.

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

Please report any issues with to