module. (I've seen it before but never checked it out) I was thinking it would be nice if you could pull out expressions for those times where you don't want to take the speed hit of loading and using the module. So I looked into
which seemed to do the trick.
My question is does anyone see any caveats to this approach? Reading the pods, it doesn't seem like there would be any problems but out of my Perl skills, regexes are certainly my weakest area. Are there other ways of getting the source form of a regex? I couldn't really find too much on the subject.