http://www.perlmonks.org?node_id=888342


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