PPI
PPI copied to clipboard
PPI::Exception::ParserRejection and PPI::Exception::ParserTimeout exist in the source tree, but they are not used by PPI, and grep.cpan.me says they are not used on CPAN. Neither one adds anything to the...
Right now PPI requires perl 5.6.0. I put together (with some aggravation) a perlbrewed 5.6.2 to test with, but have no version earlier than that. cpantesters has tried pre-5.6.2 for...
t/data/05_lexer/subscript.code ``` $$arr[0]; ${$arr}[0]; ``` Both lines means the same. On the first line PPI interprets '[0] as array subscript (right), but on the second one as anonymous array constructor...
The double diamond (``) input operator, introduced by @rgs in 5.22, provides a safer magic input operator that will _not_ execute pipes as part of the input. According to @Grinnz...
Given this: ``` package Foo; package Bar { } package Baz { } print 'hello'; ``` I get: ``` PPI::Document PPI::Statement::Package [ 1, 1, 1 ] PPI::Token::Word 'package' [ 1,...
The below three-line input parses successfully but complete() returns false. Note that if **DATA** is replaced by **END** complete() returns success. The **DATA** may contain actual data, but that doesn't...
I got this while installing into a virgin 5.20.0 build: ``` Configuring PPI-1.220 Running Makefile.PL Can't locate IO/All.pm in @INC (you may need to install the IO::All module) (@INC contains:...
Using this simple round-tripper: use PPI; print PPI::Document->new($ARGV[0]), "\n"; the following trivial code fails: sub foo { 1
`Dist::Zilla::Role::PPI` uses `PPI` in such a way: ``` my $encoded_content = $file->encoded_content; .... my $document = PPI::Document->new(\$encoded_content); ``` Thus, `$document` does not know its filename. This makes good user-friendly error...
In the pursuit of getting more releases out, i've done some work on the repo today and reworked master. My plan is to have master, in the future, consist, release-over-release,...