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 (Archbishop)
on Dec 10, 2012 at 04:58 UTC ( [id://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 (Monk) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1008037]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-23 05:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found