A new PPI release is imminent, with some possible breakages

Alias on 2009-07-22T08:49:14

Greetings all.

In an effort to get PPI off the FAIL 100 list, and to get a ton of Elliot Shank's improvements (including support for Perl 5.10) out to production, I've just produced what I expect to be the first serious release candidate.

http://svn.ali.as/cpan/releases/PPI-1.204_06.tar.gz

As well as a range of new object model classes (such as PPI::Statement::Given) this new release contains a change to the way that for ( .. ) braces are handled.

PPI will now distinguish between two types, either a PPI::Structure::List for ( @list ) and a PPI::Structure::For for ( $a = 0; $a++; $a < 10 ).

This, and a few other minor changes, have some potential to break existing PPI-based applications (or their test suites). Perl::Critic, for example, will be doing a synchronised release at the same time as PPI to maintain compatibility.

If you maintain any PPI-based modules you may want to install this release candidate and look for any potential breakages.

I'll do some downstream testing myself, but of course there's a limit to how in depth I can go.

I expect to release the new PPI in 1-2 weeks.


Padre/PPIx::EditorTools

tsee on 2009-07-22T15:49:30

Hi Adam,

sounds like some of Padre's refactoring tools that deal with scopes *may* be affected. Unfortunately, I won't be able to check any of this any time soon for lack of time. Given that you do care about not breaking Padre, maybe you can spend some of your limited downstream testing time on that?

Cheers,
Steffen

PS: Yes, I know unit tests for all that would help a lot.

Re:Padre/PPIx::EditorTools

Alias on 2009-07-23T01:48:08

Thanks, I'll look into it.