good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
The <c> block looks like an artifact from his HTML, if that's what you mean--it shouldn't show up in your code... That is, he was saying if you aren't going to use forward slashes to delimit your regex, then you need to prefix it with m: if ($blah =~ m#regex here#options here) instead of the usual $blah =~ /regex here/options hereor what have you. (In your post, the regex doesn't appear to start with a forward slash.) I'm a peripheral visionary... I can see into the future, but just way off to the side. In reply to Re^3: regex testing for multiple values
by nefigah
|
|