Bless expects a reference, and a "regex object" is just a string.
Errr... not so. Witness:
$ perl -le 'print ref qr/foo/' Regexp
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Re: Code critique XS function for extracting a blessed regex's pattern.
by sauoq
in thread Code critique XS function for extracting a blessed regex's pattern.
by demerphq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |