Config::Any::YAML.3pm

Langue: en

Version: 2008-01-28 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

Config::Any::YAML - Load YAML config files

DESCRIPTION

Loads YAML files. Example:
     ---
     name: TestApp
     Controller::Foo:
         foo: bar
     Model::Baz:
         qux: xyzzy
 
 

METHODS


extensions( )

return an array of valid extensions ("yml", "yaml").

load( $file )


load( $file )

Attempts to load $file as a YAML file.

is_supported( )

Returns true if either YAML::Syck or YAML is available.

AUTHOR

Brian Cassidy <bricas@cpan.org> Copyright 2007 by Brian Cassidy

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Catalyst
Config::Any
YAML
YAML::Syck