Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^3: Regular expression match trouble with "+"by ikegami (Patriarch) |
on Aug 18, 2006 at 19:25 UTC ( [id://568249]=note: print w/replies, xml ) | Need Help?? |
You're compiling and executing the return value of m/$b/i. Did you mean eval "m/$b/i"? eval "m/$b/i" is no good either. It doesn't solve the problem. In fact, it worsens it by adding three new characters ($, @ and /) to the list of characters that will cause problems.
In Section
Seekers of Perl Wisdom
|
|