Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Esteemed monks!
I have the following question for ye today: How can I define a list of regular expressions over which I subsequently want to iterate? So far, I have tried the following, alas to no avail:
Syntax highlighting in my editor already informs me that this is syntactically unacceptable. I also tried various ways of quoting the entries in the list ... but none of them worked. The error message received is Presumably, it is just a small thing I am overlooking -- but I simply cannot get it. Ideally, what I want is a list of compiled regular expressions that I can simply fetch using shift and interpolate where needed. Your help in this matter hence would be much appreciated. Thanks a lot in advance and best regards - Pat In reply to How to define a list of regular expressions? by pat_mc
|
|