in reply to speech marks in variable

Why don't you want to use unlink()? Sigh. I suggest: $filename =~ s/(\s)/\\$1/g

Update: I solved the wrong problem.

_____________________________________________________
Jeff[japhy]Pinyan: Perl, regex, and perl hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;