The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

SYNOPSIS

 package Config::Model::Backend::Foo ;
 use base qw/Config::Model::Backend::Any/;

 sub suffix { 
   # optional
   return '.foo';
 }

 sub read {
   # mandatory
 }

 sub write {
   # mandatory
 }

DESCRIPTION

This module is to be inherited by other backend plugin classes

See "read callback" in Config::Model::AutoRead and "write callback" in Config::Model::AutoRead for more details on the method that must be provided by any backend classes.

CONSTRUCTOR

new ( node => $node_obj, name => backend_name )

The constructor should be used only by Config::Model::Node.

annotation

Whether the backend supports to read and write annotation. Default i s 0. Override if your backend supports annotations

AUTHOR

Dominique Dumont, (ddumont at cpan dot org)

SEE ALSO

Config::Model, Config::Model::AutoRead, Config::Model::Node, Config::Model::Backend::Yaml,