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

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

Thread Previous | Thread Next
January 25, 2012 07:51
Re: [perl #108780] overload::StrVal and qr//
Message ID:
On 24 January 2012 03:03, Ricardo Signes <> wrote:
> * Father Chrysostomos <> [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.


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

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