in reply to How can one create a folder B in D drive and save results in a text file inside B using perl script?
Create the directory first using mkdir, and test the return value. If this is successful, you should then be able to create the file and write to it.
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How can one create a folder B in D drive and save results in a text file inside B using perl script?
by supriyoch_2008 (Monk) on Dec 10, 2012 at 07:06 UTC |