Gantry::Conf::Provider::HTTP - Base class for all Gantry::Conf::Provider::HTTP modules
use base 'Gantry::Conf::Provider::HTTP'; my $response = $self->fetch( $url );
This module handle the transport over http for all modules that want to pull content from a web server. I know it's easy to do, but I want it in one place.
Give it a url, it'll give you the content from it (including error responses).
Gantry(3), Gantry::Conf(3), Gantry::Conf::Tutorial(3), Ganty::Conf::FAQ(3)
Phil Crow <pcrow@sunflowerbroadband.com>
Copyright (c) 2006, Phil Crow.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
To install Gantry, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gantry
CPAN shell
perl -MCPAN -e shell install Gantry
For more information on module installation, please visit the detailed CPAN module installation guide.