Beefy Boxes and Bandwidth Generously Provided by pair Networks
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 (Canon)
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?

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 (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 imbibing at the Monastery: (7)
As of 2016-06-29 06:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (368 votes). Check out past polls.