Help for this page

Select Code to Download


  1. or download this
    my $somevar;
    open $somevar, ">", "somefile" or die "unable to open: $!\n";
    
  2. or download this
    open FILE, ">", "MYFILE" or die "unable to open:$!\n";
    
    ...
    
    close (FILE)