Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: How to ignore special characters in a variable ?

by Fletch (Chancellor)
on Feb 15, 2011 at 18:23 UTC ( #888342=note: print w/ replies, xml ) Need Help??


in reply to How to ignore special characters in a variable ?

Put your hands over your ears, stomp your feet, and say loudly "LA LA LA I'M IGNORING YOU SPECIAL CHARACTERS!"

Or check out quotemeta and/or \Q\E. Whichever.

The cake is a lie.
The cake is a lie.
The cake is a lie.


Comment on Re: How to ignore special characters in a variable ?
Download Code
Replies are listed 'Best First'.
Re^2: How to ignore special characters in a variable ?
by Anonymous Monk on Feb 15, 2011 at 18:42 UTC
    Thank you very much

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2015-07-28 09:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (254 votes), past polls