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;
Alternative e.g. Carob
Results (792 votes),