Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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?
[1nickt]: chacham I have wanted to, and dones so, and so stated in a reply, and been roundly downvoted 2-1. (I assume for attempting to censor.)
[1nickt]: pryrt yes, I see. There is no way to differentiate without forcing to a string and all sort of weird stuff. It is enough. User 42 can get creative if s/he wishes.
[chacham]: i sent him a private message expressing my displeasure.
[1nickt]: chacham It was worse than 2-1 ! almost 4-1 !
[jdporter]: Dang. No good example of how to use IPC::Run's run() in its simplest mode?
[LanX]: him or her! ;)

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (15)
As of 2017-05-24 20:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?