I was just going to ask that after I quickly tested the following successfully on Windows.
use strict; use warnings; my $fn = "this 'is' a text file.txt"; my @a = stat $fn; print "$_\n" for @a;
In reply to Re^2: stat on file name containing single quotes
by stevieb
in thread stat on file name containing single quotes
by perlpipe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |