http://www.perlmonks.org?node_id=353312


in reply to Re: Test regex compile
in thread Test regex compile

Agreed. Running eval on untrusted input is a recipe for disaster!

Using Taint would be a very good idea, although I'm not sure how you'd make a regex that correctly extracts a regex :-)