Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 (Scribe)
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'.