in reply to Re: Re: How to view contents of a blessed Regular Expression?
in thread How to view contents of a blessed Regular Expression?
qr// gives you a reference to a scalar that is already blessed into the Regexp package. So you are reblessing it which stops Regexp methods/overloads from working on it after that point. Stringification is a Regexp overload and so no longer works. If you want stringification again, then you'd need to provide such a overload via your AltRegex package.
- tye (but my friends call me "Tye")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (tye)Re: How to view contents of a blessed Regular Expression?
by bikeNomad (Priest) on Jul 16, 2001 at 19:48 UTC | |
by nysus (Parson) on Jul 16, 2001 at 19:51 UTC | |
by ysth (Canon) on Nov 20, 2003 at 00:03 UTC |