ApacheLog-Parser
view release on metacpan or search on metacpan
lib/ApacheLog/Parser/Report.pm view on Meta::CPAN
my $callcode;
if(my $code = $item->{code}) {
$callcode = '$_' . $name . '_code';
$preface = join("\n",
'my ' . $callcode . ' = sub {',
$code,
'};'
);
}
# then the total number of captures?
# bind everything to ^$ ?
# switch some to eq?
my $has_matches = sub {
my ($string) = @_;
defined($string) or die "no string";
return($string =~ m/(?<!\\)\((?!\?)/ ? 1 : 0);
};
my $before;
my @code;
my @conds;
my $some_matches = 0;
( run in 1.154 second using v1.01-cache-2.11-cpan-2398b32b56e )