$str = "\'abc $var def\'"; print $str; 'abc foo def'