I suspect that you're assigning $fn like this:
my $fn = "E:\Music\Ray LaMontagne\2010 - God Willin' & The Creek Don't Rise";
If that's the case and you have warnings enabled, you should be receiving a warning like this.
Unrecognized escape \M passed through at C:\test\Perl-1.pl line 9. Unrecognized escape \R passed through at C:\test\Perl-1.pl line 9.
In reply to Re: stat on file name containing single quotes
by fishmonger
in thread stat on file name containing single quotes
by perlpipe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |