in reply to speech marks in variable

escape speech marks for perl
$var="\"";
and you can escape spaces for the shell
$filename="a\ long\ filename\ with\ spaces";