Stories
Slash Boxes
Comments
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)

Alias
  (email not shown publicly)
http://ali.as/

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.

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.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
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?

    Cheers,
    Steffen

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