Help for this page

Select Code to Download


  1. or download this
    open(FILE, "myfile.txt")
    $file = *FILE
    
  2. or download this
    print $file "Hello File";
    close $file;
    
  3. or download this
    #!/usr/bin/perl
    
    my @filehandles;
    ...
        close $file;
        $count++;
    }