Help for this page

Select Code to Download


  1. or download this
    my %checkers =
       map {; no strict 'refs'; $_ => \&$_ }
          qw( check_char check_time check_date check_numeric );
    
  2. or download this
    my %checkers =
       map { $_ => \&$_ }   # \&$_ is except from strict refs.
          qw( check_char check_time check_date check_numeric );
    
  3. or download this
    my $checker_name = $rec_layout_hash{$fields[0]}{$i}{"sub_routine"};
    
    ...
       or die("Unrecognized checker $checker_name\n");
    
    $checker->($value1, $value2);