Help for this page

Select Code to Download


  1. or download this
    open (FILEHANDLE, ">not.txt") or die (Cannot open not.txt");
    print FILEHANDLE "hello!";
    close (FILEHANDLE);
    
  2. or download this
    open (FILEHANDLE, ">not.txt") or die ("Cannot open not.txt");
    print FILEHANDLE "hello!";
    close (FILEHANDLE);
    
  3. or download this
    use strict;
    use warnings;
    ...
    open (FILEHANDLE, ">not.txt") or die ("Cannot open not.txt");
    print FILEHANDLE "hello!";
    close (FILEHANDLE);