Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 browsing the Monastery: (11)
As of 2014-08-28 15:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (263 votes), past polls