The problem lay in the FilterHandler's invocation of other classes.
The code looked a little like this
$html =~ s/<\?KEYWORD\s+([^\?^>]+)\??>/$self->handle($1)/gme;
Changing this to
$html =~ s/<\?KEYWORD\s+([^\?^>]+)\??>/$self->handle($1)/ge;
# Removed multiline option 'm'
fixed the memcache problem.
It seems to alter memcache's behaviour in GetParser when checking $self->[BUF]
if ($self->[BUF] =~ /^END\r\n/) {
$self->[ON_ITEM] = undef;
return 1; # we're done successfully, return 1 to finish
}
Looks like m fighting with S*
|