Q&A > input and output > How do you open a filehandle to a DOS file which has spaces in the filename? contributed by turnstep
open (SPACEY, "this file has spaces.txt") || die;
my $filename = "this file has spaces.txt"
open (SPACEY, "$filename") || die;
Frying pan on the stove
Results (330 votes). Check out past polls.