|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
Re: Matching a scalar variableby alexm (Chaplain) |
| on Jul 31, 2009 at 21:30 UTC ( #785005=note: print w/ replies, xml ) | Need Help?? |
|
Aside from the other comments by fellow monks, you may need to perform the match the other way around ($string =~ m/$msg/i). It mostly depends on what you want to achieve.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||