in reply to Re^2: Using wildcards to open files.
in thread Using wildcards to open files.
As aitap said above, quotemeta will do that, a la my $escaped = quotemeta($file); or even $cmd = "perl script.pl < \Q$file\E";
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
In Section
Seekers of Perl Wisdom