Padre::Task::HTTPClient - HTTP client for Padre
Padre::Task::HTTPClient provides a common API for HTTP access to Padre.
Padre::Task::HTTPClient
As we don't want a specific HTTP client module dependency to a network-independent application like Padre, this module searches for installed HTTP client modules and uses one of them.
If none of the "child" modules could be loaded (no HTTP support at all on this computer), it fails and returns nothing (scalar undef).
undef
my $http = Padre::Task::HTTPClient->new();
The new constructor lets you create a new Padre::Task::HTTPClient object.
new
Returns a new Padre::Task::HTTPClient or dies on error.
To install Padre, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Padre
CPAN shell
perl -MCPAN -e shell install Padre
For more information on module installation, please visit the detailed CPAN module installation guide.