Help for this page

Select Code to Download


  1. or download this
    my %hash;
    open my $TAB, "<", $tab_file or die "Cannot open $tabfile $!";
    ...
        $hash[$key] = $line;
    }
    close $TAB;
    
  2. or download this
    if (exists $hash{$xml_word}) {
        my $line = $hash{$xml_word};
        # now do what you want with $line
    }