develooper Front page | perl.perl5.porters | Postings from January 2012

Re: [perl #108780] overload::StrVal and qr//

Thread Previous | Thread Next
From:
demerphq
Date:
January 25, 2012 07:51
Subject:
Re: [perl #108780] overload::StrVal and qr//
Message ID:
CANgJU+VOaOzcddjCXh0c3LBnMwAQH7FomgCQBGMH_A6AVd_bqQ@mail.gmail.com
On 24 January 2012 03:03, Ricardo Signes <perl.p5p@rjbs.manxome.org> wrote:
> * Father Chrysostomos <sprout@cpan.org> [2012-01-22T17:50:54]
>> Is the overloading pragma new enough to change without breaking things?
>
> Making "do { no overloading; qr{foo} }" return a Regexp=REGEXP(..) string is a
> bug fix.

Just curious, but is that a ruling-from-on-high, or is it a fact?

I really do wonder if no overloading in earlier perls would have
behaved as you describe.

This is of course totally orthagonal to this being a bug.

Yves


-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

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