Dragoncoding has asked for the wisdom of the Perl Monks concerning the following question:
(I am posting this question because I was unable to find the answer by googling and by searching this site)
I have a perl script which works correctly on my machine, WinXP pro, and on the machines of my co-workers in the office. However, when I send out the script to the field teams it fails.
In some cases it fails to create a directory, and in others it fails to create a file when the directory exists.
I am truly at a loss as to why, since it works correctly on my machine.
Here is the relevant code:
mkdir "c:/configs/".$RackID; open ERROR,"> c:/configs/".$RackID."/AP Compare results.txt"; print ERROR @error; close(ERROR);
Any assistance is very greatly appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: WinXP not creating files
by Fletch (Bishop) on Aug 06, 2009 at 13:44 UTC | |
|
Re: WinXP not creating files
by dreadpiratepeter (Priest) on Aug 06, 2009 at 13:44 UTC | |
|
Re: WinXP not creating files
by Anonymous Monk on Aug 06, 2009 at 14:02 UTC |