Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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 04:39 UTC ( #1008035=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl   
    use warnings;
    use strict;  
    ...
    
    close $output; 
    exit;
    
  2. or download this
    C:\Users\x\Desktop>p5.pl
    Unknown PerlIO layer "D" at C:\Users\x\Desktop\p5.pl line 10.
    Cannot open file'Result_File.txt'.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1008035]
Approved by Athanasius
Front-paged by 2teez
help
Chatterbox?
[marioroy]: Naming things can be difficult, sometimes more so that the actual code :)
[karlgoethebier]: Lady_Aleena: You need to jump to some conclusion
[Lady_Aleena]: And what would I rename RolePlaying/Random .pm to if I move all the RolePlaying/Random modules to just Random? Random/Util.pm Random/Base.pm, maybe lowercase the file name to indicate it is a bit different? I don't know yet.
[marioroy]: What does Random do?
[karlgoethebier]: https://www. youtube.com/watch? v=42WNHGr1jGI
[Lady_Aleena]: karlgoethebeir, I finished another project tonight, making a module which printed stop printing. It was a headache and a half.
[karlgoethebier]: Lady_Aleena: Try it!
[Lady_Aleena]: marioroy, it has 3 subroutines which can be fed data to generate random things. See here.
[Lady_Aleena]: marioroy, it is used in 24 other modules I wrote.

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2017-05-29 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?