in reply to Re: Code critique XS function for extracting a blessed regex's pattern.
in thread Code critique XS function for extracting a blessed regex's pattern.
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.";
|
|---|