Help for this page

Select Code to Download


  1. or download this
    open REs, "< re_file" or die "can't read re_file: $!";
    while (<REs>) {
    ...
      my $pat = shift;
      return eval qq{ sub { \$_[0] =~ $pat } };
    }
    
  2. or download this
    for (@re) {
      my ($mode, $func) = @$_;
    ...
        else { print "this matched an exception\n"; }
      }
    }