Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Store regular expressions in a file.by mjscott2702 (Pilgrim) |
on Nov 11, 2010 at 11:42 UTC ( [id://870830]=note: print w/replies, xml ) | Need Help?? |
If you just wanted to create regular expressions for matching from a file, you could use the qr quoting operator, but don't think that will work for substituting as you appear to want to do - as others have pointed out, you would probably have to use eval for that.
In Section
Seekers of Perl Wisdom
|
|