Philippe Bruhat (BooK) > HTTP-Proxy-Builder > build_proxy

Download:
HTTP-Proxy-Builder-0.01.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

build_proxy - Combine several HTTP::Proxy based programs into one

SYNOPSYS ^

build_proxy [ options ] [ proxy options ] -- [ proxy files ]

Options:

    -h, --help      Display this help
    -H, --man       Longer manpage for build_proxy

DESCRIPTION ^

build_proxy is a simple wrapper around HTTP::Proxy::Builder. It lets you combine several proxies written using HTTP::Proxy and HTTP::Proxy::Builder into a single one. Each proxy program can still be used independently.

How to transform a program based on HTTP::Proxy

A proxy like the following:

    use HTTP::Proxy;
    use HTTP::Proxy:: ...;    # required filter modules

    my $proxy = HTTP::Proxy->new(@ARGV);
    $proxy->push_filter(...);
    $proxy->start();

Can be made usable by build_proxy by transforming it into this:

    use HTTP::Proxy::Builder;
    use HTTP::Proxy:: ...;    # required filter modules

    $proxy->push_filter(...);

Basically:

AUTHOR ^

Philippe Bruhat (BooK), <book@cpan.org>.

COPYRIGHT ^

Copyright 2008 Philippe Bruhat (BooK), all rights reserved.

LICENSE ^

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: