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