build_proxy - Combine several HTTP::Proxy based programs into one
build_proxy [ options ] [ proxy options ] -- [ proxy files ]
Options:
-h, --help Display this help -H, --man Longer manpage for build_proxy
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.
HTTP::Proxy::Builder
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:
replace use HTTP::Proxy by use HTTP::Proxy::Builder,
use HTTP::Proxy
use HTTP::Proxy::Builder
remove calls to HTTP::Proxy->new(),
HTTP::Proxy->new()
remove calls to $rpxoy->start().
$rpxoy->start()
Philippe Bruhat (BooK), <book@cpan.org>.
<book@cpan.org>
Copyright 2008 Philippe Bruhat (BooK), all rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install HTTP::Proxy::Builder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::Proxy::Builder
CPAN shell
perl -MCPAN -e shell install HTTP::Proxy::Builder
For more information on module installation, please visit the detailed CPAN module installation guide.