develooper Front page | perl.perl5.porters | Postings from March 2007

Re: [PATCH] Tweaks so that miniperl.exe doesnt croak while building perl.exe

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
March 7, 2007 08:41
Subject:
Re: [PATCH] Tweaks so that miniperl.exe doesnt croak while building perl.exe
Message ID:
b77c1dce0703070841x210ce513paa6848138d14f2dd@mail.gmail.com
On 07/03/07, demerphq <demerphq@gmail.com> wrote:
> Attached patch will get the show on the road for building, but won't
> fix the minitest failures (ill followup with a patch for that).

Thanks, applied as #30496.

Note that this glob failure is now back :
$ bleadperl -wle 'print*-{HASH}{foo}'
Can't locate object method "FETCH" via package
"re::Tie::Hash::NamedCapture" at -e line 1.

That's because the tied hashes %+ and %- are always created, even when
the variable requested is @+ or $-. Unfortunately if I try to create
the hashes only when requested, regexp tests start to fail :-(

Maybe it's better to move some of the tied class code into perl, so
loading an external module is no longer necessary.

> The change required to lib/ExtUtils/Liblist/Kid.pm fixes a bug in it
> that was detected by the require_tie_mod() failures, but was not
> actually related to it. The cause was that m-[\w$\-]- matches the same
> as /[\w$-]/ and not /[\w$\-]/ as I guess the author expected.

Thanks, applied as #30497.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About