HTTP-ProxyCheck
view release on metacpan or search on metacpan
docs/HTTP_ProxyCheck.txt view on Meta::CPAN
If there's an error during the object construction, you can't get the
error message through "get_error()". Use $HTTP::ProxyCheck::error
instead:
my $proxy_check = new HTTP::ProxyCheck( proxy => 'proxy' )
or die $HTTP::ProxyCheck::error;
The object attribute "verbose_errors" configures the verbosity of the
error message. Set "verbose_errors => 1" to enable verbose error
messages and "verbose_errors => 0" to disable verbose error messages.
Verbose error messages look like this:
$method failed: $error_message
And non-verbose error messages like this:
$error_message
The default value of "verbose_errors" is 0.
With "print_error" and "raise_error" you can set the degree of
automation of the error handling.
If "print_error" is set to 1, the error message is displayed with
"Carp::carp()". Set "print_error" to 0 to disable this feature.
If "raise_error" is set to 1, the error message is displayed with
"Carp::croak()" and the program is brought to an end. If "raise_error"
is set to 0, this feature is disabled.
The default value of "print_error" is 1 and of "raise_error" it is 0.
SUPPORT
Contact the "AUTHOR".
BUGS
Unknown
VERSION
HTTP::ProxyCheck version 1.2
CHANGES
1.4 Thu May 25 10:47:42 CEST 2006
- Added installation instructions to README
1.3 Sun May 7 11:51:50 CEST 2006
- Charles Longeau <chl attuxfamily dot org> made a small patch to
specify the user agent, instead of a fixed "HTTP::ProxyCheck/$VERSION"
one.
1.2 Sat May 8 09:38:02 CEST 2004
- Fix to unset the error message of a previous IO::Socket::INET run
Thanks to Ben Schnopp <ben at schnopp dot com>
1.1 Tue Aug 12 19:45:00 CEST 2003
- rewrote the module
- added better error handling
- updated POD
1.0 Fri Feb 21 17:09:32 CET 2003
- gone stable after detailed testing
- updated POD (synopsis)
0.2 Fri Feb 21 11:57:43 CET 2003
- added check(answer => $type)
- renamed methods to gain more consistency
- updated POD (synopsis, methods)
0.1 Wed Feb 5 14:35:25 CET 2003
- original version
AUTHOR
Thomas Weibel
cpan@beeblebrox.net
http://beeblebrox.net/
COPYRIGHT
Copyright (c) 2004 - 2006 Thomas Weibel. All rights reserved.
This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
( run in 1.544 second using v1.01-cache-2.11-cpan-39bf76dae61 )