Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Alias (5735)

  (email not shown publicly)

Journal of Alias (5735)

Wednesday July 22, 2009
03:49 AM

A new PPI release is imminent, with some possible breakages

[ #39331 ]

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.

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.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • 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?


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