29 May 2016 18:55:38 UTC
- Distribution: ParallelUserAgent
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (12)
- Testers (713 / 66 / 0)
- KwaliteeBus factor: 0
- % Coverage
- License: perl_5
- Activity24 month
- Download (57.53KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:1 non-PAUSE userMSOUTH Mike Southand 1 contributors
- ($socket, $second_arg) = $prot->handle_connect ($req, $proxy, $timeout);
This method connects with the server on the machine and port specified in the $req object. If a $proxy is given, it will return an error, since the FTP protocol does not allow proxying. (See below on how such an error is propagated to the caller).
If successful, the first argument will contain the IO::Socket object that connects to the specified site. The second argument is empty (for ftp, that is. See LWP::Protocol::http for different usage).
If the connection fails, $socket is set to 'undef', and the second argument contains a HTTP::Response object holding a textual representation of the error. (You can use its 'code' and 'message' methods to find out what went wrong)
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 85:
'=item' outside of any '=over'
=over without closing =back
Module Install Instructions
To install LWP::RobotPUA, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install LWP::RobotPUA
For more information on module installation, please visit the detailed CPAN module installation guide.