J. Shirley > Catalyst-Plugin-ConfigLoader-Remote > Catalyst::Plugin::ConfigLoader::Remote

Download:
Catalyst-Plugin-ConfigLoader-Remote-0.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View Bugs
Report a bug
Module Version: 0.02   Source  

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:

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.