Config::Any::Base(3)
π Config::Any::Base(3) β User Contributed Perl Documentation π
okay so bestie, this is the base-class page for Config::Any::Base, and itβs giving βall the loaders start hereβ energy. No cap. π
πΈ NAME πΈ
Config::Any::Base β Base class for loaders β¨
π¦ DESCRIPTION π¦
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( )
This lets us figure out if the file format can be loaded. You can do it 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.
π AUTHOR π
Brian Cassidy <bricas@cpan.org> π
π COPYRIGHT AND LICENSE π
Copyright 2008-2009 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 π
Config::Anyπ
thatβs the whole vibe, bestie β this page is from perl v5.42.0, dated 2023-05-04, and itβs Config::Any::Base(3) π«Άπ
π¦ where this page comes from
- opensuse-leap 16.0: perl-Config-Any 0.33-bp160.1.12 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms