Config::Any::Base(3pm)

Config::Any::Base3pm

Base class for loaders

Overview

This is a base class for all loaders. It currently handles the specification of dependencies in order to ensure the subclass can load the config file format.

Methods

is_supported( )

Allows us to determine if the file format can be loaded. The can be done via one of two subclass methods:

•

"requires_all_of()" - returns an array of items that must all be present in order to work

•

"requires_any_of()" - returns an array of items in which at least one must be present

You can specify a module version by passing an array reference in the return.

    sub requires_all_of { [ 'My::Module', '1.1' ], 'My::OtherModule' }

Lack of specifying these subs will assume you require no extra modules to function.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 6 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10–11
  6. 12
  7. 13

Author

Brian Cassidy <[email protected]>

From libconfig-any-perl 0.33-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.