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

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

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

Download (untitled) / with headers
text/plain 427b
PPI lexes this code.. DESTROY{} 1; as (whitespace nodes pruned)... PPI::Document PPI::Statement PPI::Token::Word 'DESTROY' PPI::Structure::Block { ... } PPI::Token::Number '1' PPI::Token::Structure ';' Note how the "1;" statement is part of the DESTROY statement. I'm not sure, but I think "DESTROY{}" should be a PPI::Statement::Scheduled just like "BEGIN{}".
Download (untitled) / with headers
text/plain 140b
A fix for this has been released as a dev version to CPAN. Please test and give feedback here:
The full version of the fix for this is now released to CPAN as PPI 1.220.

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

Please report any issues with to