amulcahy has asked for the wisdom of the Perl Monks concerning the following question:
This works if the directory already exists, but does not work without the directories.$fileName = "dir1/dir2/dir3/filename.txt"; open (LIST, ">$fileName");.....
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: file creation
by mirod (Canon) on Jan 31, 2002 at 13:07 UTC | |
by rob_au (Abbot) on Jan 31, 2002 at 13:47 UTC | |
by gav^ (Curate) on Jan 31, 2002 at 16:44 UTC | |
|
(crazyinsomniac) Re: file creation
by crazyinsomniac (Prior) on Feb 01, 2002 at 09:22 UTC |