Help for this page

Select Code to Download


  1. or download this
    for my $bn ( @B_CHECKS ) {
       my $re = qr/^(?:0|5|6)0+\Q$bn\E$/;
    ...
          }
       }
    }
    
  2. or download this
    my ($re) = map qr/^(?:0|5|6)0+($_)$/,
               join '|',
    ...
          print "$1 = $cn\n";
       }
    }
    
  3. or download this
    use Regexp::List qw( ) 
    
    ...
          print "$1 = $cn\n";
       }
    }
    
  4. or download this
    my %B_CHECKS = map +($_ => 1), @B_CHECKS;
    for my $cn ( @CS_CHECKS ) {
    ...
          print "$bn = $cn\n";
       }
    }