Willworker has asked for the wisdom of the Perl Monks concerning the following question:

I've been fiddling with perl for a while, and am finding more and more occasion to write perl one-liners. The problem is that I keep getting confused as to what characters I need to escape in my program string so that the shell doesn't do evil things with them. Has someone got a link to a reference for this sort of thing?


2005-03-12 Edited by Arunbear: Changed title from 'Easy question', as per Monastery guidelines