Do you know where your variables are? | |
PerlMonks |
Re: Creating regex from arraysby Kageneko (Scribe) |
on Jul 29, 2003 at 15:40 UTC ( [id://278868]=note: print w/replies, xml ) | Need Help?? |
Hmm, you could do something like this:
Undoubtedly, there is an easier way to do it, but that's what springs to mind. Using qr// allows you to compile the regex only once if you re-use the same results (and regex) over and over.
In Section
Seekers of Perl Wisdom
|
|