Peter Lavender > Padre > Padre::Task::HTTPClient

Download:
Padre-0.52.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs

Module Version: 0.52   Source  

NAME ^

Padre::Task::HTTPClient - HTTP client for Padre

DESCRIPTION ^

Padre::Task::HTTPClient provides a common API for HTTP access to Padre.

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).

METHODS ^

new

  my $http = Padre::Task::HTTPClient->new();

The new constructor lets you create a new Padre::Task::HTTPClient object.

Returns a new Padre::Task::HTTPClient or dies on error.