1Config::Any::Base(3)  User Contributed Perl Documentation Config::Any::Base(3)
2
3
4

NAME

6       Config::Any::Base - Base class for loaders
7

DESCRIPTION

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

METHODS

14   is_supported( )
15       Allows us to determine if the file format can be loaded. The can be
16       done via one of two subclass methods:
17
18       ·   "requires_all_of()" - returns an array of items that must all be
19           present in order to work
20
21       ·   "requires_any_of()" - returns an array of items in which at least
22           one must be present
23
24       You can specify a module version by passing an array reference in the
25       return.
26
27           sub requires_all_of { [ 'My::Module', '1.1' ], 'My::OtherModule' }
28
29       Lack of specifying these subs will assume you require no extra modules
30       to function.
31

AUTHOR

33       Brian Cassidy <bricas@cpan.org>
34
36       Copyright 2008-2009 by Brian Cassidy
37
38       This library is free software; you can redistribute it and/or modify it
39       under the same terms as Perl itself.
40

SEE ALSO

42       ·   Config::Any
43
44
45
46perl v5.32.0                      2020-07-28              Config::Any::Base(3)
Impressum