Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 (Monsignor)
on Dec 10, 2012 at 04:58 UTC ( #1008037=note: print w/ replies, xml ) Need Help??


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,


Comment on Re: How can one create a folder B in D drive and save results in a text file inside B using perl script?
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 (Scribe) on Dec 10, 2012 at 07:06 UTC

    Hi Athanasius

    Thanks for your suggestions.

    Regards,

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008037]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2014-09-23 05:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (210 votes), past polls