You might want to take a look at quotemeta. Try 'perldoc -f quotemeta' to get a quick overview.
Update: added direct link to doc.
In reply to Re: escaping special charcters from a string
by pboin
in thread escaping special charcters from a string
by bar10der
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |