Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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.

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?
[ambrus]: `quote
[ambrus]: sorry, typed in the wrong box
[LanX]: Your mother: je ne t'aime plus! ;)
[choroba]: seems lispy
[Your Mother]: Be nice! I speak that much French. Though I also like that song.
[choroba]: So, I joined Pod Černư Vrch some months ago to still have the fun. But I wouldn't call it "punk" anymore...
[LanX]: choroba deaf after one rehearsal per year ?
Discipulus .. per ear!
[LanX]: LOL
[choroba]: we used to play more :)

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-03-24 12:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (301 votes). Check out past polls.