works for me. I'm betting you didn't escape your backslashes in your double quotes. Do you have warnings enabled?#!/usr/bin/perl use strict; use warnings; my $fn = q{C:\Music\Ray LaMontagne\2010 - God Willin' & The Creek Don' +t Rise}; print -d $fn;
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
In reply to Re: stat on file name containing single quotes
by kennethk
in thread stat on file name containing single quotes
by perlpipe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |