Next Program Repair Shop 12

The Loaded Uzi

        for $key (keys %hash) {
          if ($key eq 'name') {
            check_name($hash{$key});
          elsif ($key eq 'address') {
            check_address($hash{$key});
          } elsif ...
        }
        check_name($hash{name});
        check_address($hash{address});
        ...

Next Copyright © 2006 M. J. Dominus