in reply to Remove Script for a Infrastructure file managenet system running embedded perl
It looks like you're forgetting that the backslash character is an escape, so if you want *one* backslash, you need to put two in. So the line:
our $ThisSourceDirectory = "\\hostname\share-test\";
should be:
our $ThisSourceDirectory = "\\\\hostname\\share-test\\";
Or, since perl is perfectly happy with forward slashes instead of backslashes (even on Windows), you could use:
our $ThisSourceDirectory = "//hostname/share-test/";
...roboticus
I won't even comment on the use of our instead of my.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Remove Script for a Infrastructure file managenet system running embedded perl
by sanju7 (Acolyte) on Jul 18, 2010 at 05:07 UTC | |
by roboticus (Chancellor) on Jul 18, 2010 at 12:12 UTC | |
by sanju7 (Acolyte) on Jul 19, 2010 at 07:53 UTC | |
by roboticus (Chancellor) on Jul 19, 2010 at 12:48 UTC | |
by sanju7 (Acolyte) on Jul 21, 2010 at 21:11 UTC | |
|