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;
DejaVu Sans Mono
Droid Sans Mono
Envy Code R
Source Code Pro
The default, whatever it is
Results (110 votes). Check out past polls.