On Sunday 16 May 2004 10:36 pm, Nigel Pearson wrote: > I haven't tested this, but quoting _all_ strange characters > may be safer. e.g.: > > $outname=`$getnamestr`; > - $outname =~ s/'/\\'/; > + $outname = quotemeta($outname); Applied.. Isaac