Net::Squid::Purge::HTTP
use Net::Squid::Purge; my $purger = Net::Squid::Purge->new({ 'squid_servers' => [ { host => '192.168.100.3' }, { host => '192.168.100.4' }, { host => '192.168.100.5', port => '8080' }, ], }, 'HTTP'); $purger->purge('http://search.cpan.org/', 'http://blog.socklabs.com/');
This function performs the purge action on the designated squid servers.
Set the squid servers to use at run time. This is just an accessor, the same information can be set on object creation (new( squid_servers => [...])).
Please see Net::Squid::Purge for more information.
Copyright 2006 Nick Gerakines, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Net::Squid::Purge, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Squid::Purge
CPAN shell
perl -MCPAN -e shell install Net::Squid::Purge
For more information on module installation, please visit the detailed CPAN module installation guide.