in reply to stat on file name containing single quotes
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: stat on file name containing single quotes
by fishmonger (Chaplain) on Jul 30, 2015 at 21:52 UTC |