dhjackal has asked for the wisdom of the Perl Monks concerning the following question:
I've tried single and double quotes but to no avail Anybody know the way round this? All help appreciated Declanmy $dir = "D:\Temp\Test directory\Logs" ; $dir =~ s/\\/\//g ; mkdir ($dir) || die "Cannot mkdir $dir: $!" ;
Edited (davorg) - added code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: directories with spaces
by davorg (Chancellor) on Nov 08, 2006 at 09:33 UTC | |
by dhjackal (Initiate) on Nov 08, 2006 at 10:24 UTC | |
by Hofmator (Curate) on Nov 08, 2006 at 10:30 UTC |