Hi Roderich,

Roderich Schupp wrote:
> On Wed, Oct 1, 2008 at 10:20 AM, Mark Dootson <[EMAIL PROTECTED]> wrote:
>> Isn't the underlying problem, in this particular case, Perl 5.10 regex
>> engine dependency on Tie/Hash/NamedCapture.pm  ?
> 
> Ouch, missed that one. So Tie/Hash/NamedCapture.pm is something like
> Errno.pm, i.e. require'd by the core whenever needed (in the case of
> Errno.pm that means that the program references $!).

Oh, hell, I missed it, too!

[...]
> I propose to amend require_modules in par.pl with
> 
>     require Errno;
>     eval { require Tie::Hash::NamedCapture };
> 
> (the latter only conditionally, because it isn't available before Perl 5.10).

Insofar as I understand par.pl, this should fix it. Curiously, I've been
happily using pp with 5.10 and never had the issue.

Best regards,
Steffen

Reply via email to