Actually, if the system shell is sh or bash, the extreme problem with every $ variable in the perl script needing to be backslashed as \$ only applies if the script is in double quotes. A single quoted script will be passed intact to perl, needing backslashes only in front of single quotes.