escape the $ of the perl default variable so that it doesn't get interpreted by the shell

Fixes the bug noticed by Aragno.