NAME
Catalyst::Plugin::ConfigLoader::Remote - Load (remote) URIs into config
VERSION
Version 0.01
SYNOPSIS
This module provides support for fetching remote configuration files over HTTP, FTP or other remote methods.
It will fetch any blessed URI object in the files
config entry for the package via File::Fetch
package MyApp;
use Catalyst qw/ConfigLoader::Remote/;
use URI;
__PACKAGE__->config(
'Plugin::ConfigLoader::Remote' => {
files => [
URI->new("https://secure.example.com/config/basic.yml"),
URI->new("https://secure.example.com/config/database.conf"),
]
}
);
METHODS
find_files
find_files will download each file to a temporary directory that is purged on program exit. It is then passed to Catalyst::Plugin::ConfigLoader for actual configuration loading and processing.
AUTHOR
J. Shirley, <jshirley at gmail.com>
Eden Cardim
BUGS
Please report any bugs or feature requests to bug-catalyst-plugin-configloader-remote at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Catalyst-Plugin-ConfigLoader-Remote. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Catalyst::Plugin::ConfigLoader::Remote
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Catalyst-Plugin-ConfigLoader-Remote
CPAN Ratings
http://cpanratings.perl.org/d/Catalyst-Plugin-ConfigLoader-Remote
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Catalyst-Plugin-ConfigLoader-Remote
Search CPAN
http://search.cpan.org/dist/Catalyst-Plugin-ConfigLoader-Remote
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2007 J. Shirley and PictureTrail.com
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.