Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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?
[choroba]: "data dumber" is a nice typo, btw
hippo ponders Acme::Data::Dumber for CPAN day.

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2017-04-27 08:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (501 votes). Check out past polls.