Help for this page

Select Code to Download


  1. or download this
    open my $fh, '<', '/home/test.xml' or die "Could not open file\n";
    printFile($fh);
    close $fh;
    
  2. or download this
    sub printFile {
     my $fh = $_[0];
    ...
      print $_;
     }
    }