develooper Front page | perl.perl5.porters | Postings from August 2013

Re: [perl #54728] PathTools-3.27 triggers a bug in Perl

Thread Previous | Thread Next
Dave Mitchell
August 5, 2013 10:51
Re: [perl #54728] PathTools-3.27 triggers a bug in Perl
Message ID:
On Sun, Aug 04, 2013 at 04:28:32PM -0700, Victor Efimov via RT wrote:
> So, it looks like a bug to me.
> 1) two explanation above, with aliasing and localized global vars does
> not apply for real localized glabal vars.

Except that $1 etc are *not* localised. The thing that is localised is the
current match (PL_curpm internally). $1 et al are just magic vars that
retrieve values from the current match on request.

Spock (or Data) is fired from his high-ranking position for not being able
to understand the most basic nuances of about one in three sentences that
anyone says to him.
    -- Things That Never Happen in "Star Trek" #19

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About