http://qs321.pair.com?node_id=161912


in reply to Re: Re: Re: Identifying if a variable is the product of a qr//
in thread Identifying if a variable is the product of a qr//

I guess it's the MG_TYPE='r' line which is indicating it's a magical Regexp, and the magic isn't affected when it's bless'ed.

A quick look through my copy of perlguts however reveals that.. err.. r isn't listed as a possible value of MG_TYPE.

Now planning on hitting Inline::CPP a bit more when I get home see if I can magically regexp'ify strings and visa-versa..