1Config::Model::Backend:U:sAenry(C3o)ntributed Perl DocumCeonntfaitgi:o:nModel::Backend::Any(3)
2
3
4

NAME

6       Config::Model::Backend::Any - Virtual class for other backends
7

VERSION

9       version 1.205
10

SYNOPSIS

12        package Config::Model::Backend::Foo ;
13        use base qw/Config::Model::Backend::Any/;
14
15        sub suffix {
16          # optional
17          return '.foo';
18        }
19
20        sub read {
21          # mandatory
22        }
23
24        sub write {
25          # mandatory
26        }
27

DESCRIPTION

29       This module is to be inherited by other backend plugin classes
30
31       See "read callback" in Config::Model::AutoRead and "write callback" in
32       Config::Model::AutoRead for more details on the method that must be
33       provided by any backend classes.
34

CONSTRUCTOR

36   new ( node => $node_obj, name => backend_name )
37       The constructor should be used only by Config::Model::Node.
38
39   annotation
40       Whether the backend supports to read and write annotation. Default i s
41       0. Override if your backend supports annotations
42

AUTHOR

44       Dominique Dumont, (ddumont at cpan dot org)
45

SEE ALSO

47       Config::Model, Config::Model::AutoRead, Config::Model::Node,
48       Config::Model::Backend::Yaml,
49
50
51
52perl v5.12.1                      2010-08-18    Config::Model::Backend::Any(3)
Impressum