PPI icon indicating copy to clipboard operation
PPI copied to clipboard

PPI 1.281 chokes on simple code

Open book opened this issue 6 days ago • 0 comments

Here's how to reproduce:

$ perl -MPPI -E '
    say PPI->VERSION;
    PPI::Document->new( \q{use feature "signatures", "postderef"; 1;} )
      or do { die $@ };
'
1.281
unknown arg decompose type: , , PPI::Token::Operator at .../lib/perl5/PPI/Statement/Include.pm line 322.

Note that the error doesn't show up if the include statement is followed by anything non-significant.

book avatar Feb 20 '25 08:02 book