| 21/38 |
© 2004 by Philippe "BooK" Bruhat.
|
HTTP::Proxy::BodyFilter::lines
Ensures that only complete lines are sent to the next filter.
You can change the line-ending definition, just as with $/.
Note that the next filter does not receives data line by line, but by groups of complete lines (including the EOL characters).
HTTP::Proxy::BodyFilter::htmltext
This filter uses a basic parsing scheme to call a user-supplied routine
for each piece of text in the HTML document.
The routine takes no parameter and the chunk of data is stored in $_.
HTTP::Proxy::BodyFilter::htmltext->new( sub { tr/a-zA-z/n-za-mN-ZA-M/ } );
It must be preceded by HTTP::Proxy::BodyFilter::tags.
HTTP::Proxy::BodyFilter::htmlparser
This filter lets you use a HTML::Parser object to read the message body. Modifying the data is a little more complicated, but possible.
HTTP::Proxy::BodyFilter::save
This filter saves the data to a file as it flows through the proxy.