|Think about Loose Coupling|
Parse::RandGen::Regexpby paulski (Beadle)
|on Aug 06, 2005 at 15:38 UTC||Need Help??|
paulski has asked for the wisdom of the Perl Monks concerning the following question:
I found a better module on CPAN that does exactly what I need Parse::RandGen::Regexp.pm.
The problem I'm having now is how to get a regexp into this function. I wrote a stub progam to test.
This throws the following error.
Now I need the string in regexp format to pass to the function. I could just put the string in qr//s but in my real program I need to read the regexps from a list so they will come in scalar format.
i.e. How do I convert:
I'm not sure how to do this conversion.