Help for this page

Select Code to Download


  1. or download this
    open INFILE, "$ARGV[0]";
    
  2. or download this
    open INFILE, "<", $ARGV[0] or die "Can't read '$ARGV[0]': $!";
    
  3. or download this
    # I'd use a better variable than $line, but I don't know
    # what your purpose is, and your Tryptic names are quite
    ...
        $hTryptic{$accSeq} = $line;
        $line = $accSeq;
    }
    
  4. or download this
    my %in_array_b;
    @in_array_b{@array_b} = ();
    foreach my $one (@array_a) {
      print $in_array_b{$one} ? $hash_a{$one} : $hash_b{one};
    }