Help for this page

Select Code to Download


  1. or download this
    $text = file1.txt
    open (DAT,"$text");
    ...
    open (NEWDAT, ">file2.txt");
    print @stuff;
    close(NEWDAT);
    
  2. or download this
    #!/usr/bin/perl -w
    
    ...
    print "File copied";
    }