Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Re: Test regex compileby flyingmoose (Priest) |
on May 13, 2004 at 19:28 UTC ( [id://353189]=note: print w/replies, xml ) | Need Help?? |
That doesn't work if the regex is passed in as a parameter, say if you are doing something screwy like loading it from a database. The way to do that is probably to check at startup, or otherwise write another program, to run eval-block type tests on each of the many regexes that can be imported.
In Section
Seekers of Perl Wisdom
|
|