Think about Loose Coupling | |
PerlMonks |
Re: How can one create a folder B in D drive and save results in a text file inside B using perl script?by Athanasius (Archbishop) |
on Dec 10, 2012 at 04:58 UTC ( [id://1008037]=note: print w/replies, xml ) | Need Help?? |
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,
In Section
Seekers of Perl Wisdom
|
|