in reply to speech marks in variable

A couple of solutions. The first escapes the quotes with a backslash, the second uses the generalised qq() operator.

$command = "rm \"/here/$filename\""'; $command = qq(rm "/here/$filename");
--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg