Help for this page

Select Code to Download


  1. or download this
        my $fh = myOpen( "<", $pathname )
    
  2. or download this
    my %cache;
    sub myOpen {
    ...
        open $fh, $mode, \$cache{ $path } or return;
        return $fh;
    }