in reply to stat on file name containing single quotes
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: stat on file name containing single quotes
by AnomalousMonk (Archbishop) on Jul 30, 2015 at 22:15 UTC | |
|
Re^2: stat on file name containing single quotes
by afoken (Chancellor) on Jul 31, 2015 at 09:39 UTC |