Newer Perl::Critic(s) Just Hang

jk2addict on 2007-12-28T18:09:16

Anyone else seen this behavior yet? On two of my Strawberry Perl 5.8.8 installs, and on my OSX install, some later version of Perl::Critic hangs on t\20_policy_podspelling.t indefinitely. If I try using that version, all of my dists critic tests just hang indefinitely.

Pod::Spelling and Test::Pod::Spelling all appear to test fine, but that may not mean anything. I'm not really sure where to look on this one other than to start back with 1.0 and see when it fails.

The latest PPI also tests cleanly. But that also has issues as older Critics don't work so well with newer PPI, or I've picked a bad combo of the two.

Update: Damnit, I knew I'd been here before. That policy uses Open2. Open2 is the Devil on win32.

From ye olde Changes for Test::Spelling:

0.11  2005-11-15
        - Some documentation fixes.
        - Added note about per-file stopwords by Chris Dolan.
        - Use a temporary file instead of open2() to solve win32 portability
          issues. (Thanks to Chris Laco!)


http://rt.cpan.org/Ticket/Display.html?id=31972

jk2addict on 2007-12-28T19:20:38

RT Filed so I don't forget.

Upgrade PPI and Perl::Critic at the same time

Alias on 2007-12-29T21:40:02

PPI and Perl::Critic have a fairly intimate relationship, it is almost always necessary to upgrade both at the same time.