in reply to Re: Quote Escape
in thread Quote Escape

Good point, "What's a right way?"

Sadly, quotemeta won't work because it will slash-escape all non word characters. So, "Don't do that" would turn out like "Don\'t\ do\ that".