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


in reply to Store regular expressions in a file.

I'd like to read a bunch of regular expressions from a flat text for use in a script. After I read the file, how do I tell Perl thats this 'data' is a regular expression?
Replace "regular expression" with "number", and ask yourself the same question. How does Perl do that?
  • Comment on Re: Store regular expressions in a file.