- or download this
$fast = sub {
my $match = qq@ return 1 if m!foo!o; @;
my $code = eval "sub {$match ; return 0}";
return $code;
};
- or download this
while(<>) {
next unless &{$fast};
}
- or download this
$match = qq@ return (\$1,\$2) if m!(foo)(bar)!; @;