Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: regex error

by aitap (Deacon)
on Apr 06, 2013 at 12:25 UTC ( #1027281=note: print w/replies, xml ) Need Help??


in reply to regex error

Use /\Q$variable\E/ when you want to literally match the contents of a variable. More info is at the end of Quote and Quote like Operators, in quotemeta (as suggested above) and in Interpolation.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1027281]
help
Chatterbox?
[Lotus1]: damn, I just opened the attacment on a phishing simulation email in the $work email
[Lotus1]: now I'll be sent to re-education camp or something
[stevieb]: relocate Lotus1 to the brig, straight away!

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (14)
As of 2017-05-24 13:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?