Help for this page

Select Code to Download


  1. or download this
    open(MYFILE, "-|", "/bin/zcat", $myfile) || die("ERROR: Cannot open $m
    +yfile for read: $!\n");
    
  2. or download this
    my $fh;
    if ($myfile =~ /\.gz$/)
    ...
        open($fh, "-|", "/bin/zcat", $myfile) || die("ERROR: Cannot open $
    +myfile for read: $!\n");
    }
    ...