Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Matching a scalar variable

by alexm (Chaplain)
on Jul 31, 2009 at 21:30 UTC ( #785005=note: print w/ replies, xml ) Need Help??


in reply to Matching a scalar variable

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.


Comment on Re: Matching a scalar variable
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://785005]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2014-11-26 12:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (171 votes), past polls