NAME

Babble::Transport - Transport abstraction layer for Babble

DESCRIPTION

This module implements a layer that is transport agnostic. That is, one can pass a file, an HTTP URL or the like to this module, and it will delegate the job to an appropriate sub-module. Very useful for fetching feeds, as with Babble::Transport, the feed can be either remote or local, and can be fetched from anywhere Babble::Transport supports, and when one writes new DataSources, the code is reusable.

However, this should not be used outside of Babble::DataSource classes.

METHODS

    get

    Return the contents of a given location (given in the -location argument) as a string scalar. Only the -location argument is recognised by this method, all others, and even -location will be passed on to the relevant sub-module's get method.

AUTHOR

Gergely Nagy, algernon@bonehunter.rulez.org

Bugs should be reported at http://bugs.bonehunter.rulez.org/babble.

SEE ALSO

Babble::Transport::LWP

1 POD Error

The following errors were encountered while parsing the POD:

Around line 45:

You can't have =items (as at line 51) unless the first thing after the =over is an =item