Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    use strict;
    ...
        my $procedure=findproc($sample);
        return assigncode($site,$specimen,$procedure);
    }
    
  2. or download this
    sub findproc {
        my $possible_key = shift;    # get the argument passed to this sub
        if (defined $procedure{$possible_key}) {
            print $procedure{$possible_key}, "\n";    
        }
    }