kingjamesid has asked for the wisdom of the Perl Monks concerning the following question:
======================= When I use "C:\cFiles"; the result is "File not found" But when I use 'C:\cFiles' I get the results What is going on with double quotes that is not giving the right results? Is \c in C:\cfiles messing it up? No idea. CLues?#!pel my $string = "C:\cFiles"; my $list = `dir /b $string`; print $list
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Text Processing
by Corion (Patriarch) on Jul 25, 2009 at 18:32 UTC | |
by Anonymous Monk on Jul 26, 2009 at 02:53 UTC | |
|
Re: Text Processing
by cdarke (Prior) on Jul 26, 2009 at 10:14 UTC | |
|
Re: Text Processing
by imrags (Monk) on Jul 27, 2009 at 06:11 UTC |