in reply to Re^5: Memcache 'get' returns undef running under mod_perl (debug)
in thread Memcache 'get' returns undef running under mod_perl
Interesting. Testing it a little further, it appears that it is the combination /me causing the problems. Removing just the 'm' to give
does make it 'work'.
However, I need the match to be multiline. Re-introducing the /m option in a loop also makes things work:
my $MAX = 100; while( $html =~ m/<\?KEYWORD\s+([^\?^>]+)\??>/m ) { my $ssi_html = $self->handle($1); $html =~ s/<\?KEYWORD\s+([^\?^>]+)\??>/$ssi_html/m; last if $MAX++ > 100; }
-=( Graq )=-
In Section
Seekers of Perl Wisdom