Help for this page

Select Code to Download


  1. or download this
    sub checkxtlist (@) {
       my @Excluded = qw(Table_A Table_B);
    ...
       my @Accepted = grep { !$Excludes{$_} } @_;
       my $status = (@_ == @Accepted) ? "good" : "bad";
    }
    
  2. or download this
    sub checkxtpatlist ($@) {
       my $pat = shift;
    ...
    }
    
    my $s = checkxtpatlist(qr/Table_[ABC]/,@tables);