in reply to Re^2: quoting/escaping file names
in thread quoting/escaping file names

Why did you type  my $filename = q{$_}; what do you think that does?