perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Puneet Lakhina" <>
Subject Substituting URLs in PerlOutputFilterHandler
Date Mon, 10 Nov 2008 06:45:58 GMT

I am trying to write a handler that modifies the content of the page
based on a regex match. essentially im trying to modify <a href="">
tags in the outgoing HTML pages.
Now I am trying to do this using PerlOutputFilterHandler. I have the
following questions:
a) Is this the right filter to use for an application like this?
b) As per my understanding my hander can be invoked multiple times
based on the no. of buckets. Is this correct? If yes, then how should
I handle the situation where a part of the tag like say '<a href'
comes in one bucket and '="">' comes in another.

Thanks for your time.


View raw message