in reply to Re^2: perl -e in sshin thread perl -e in ssh
$s = s/'/'\\''/g; [download]
$s =~ s/'/'\\''/g; [download]
Fixed in original code. Tested.