GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CONFIG::ANY::BASE (3)

.ds Aq ’

NAME

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

CONTENTS

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( )

Allows us to determine if the file format can be loaded. The can be done via one of two subclass methods:
o requires_all_of() - returns an array of items that must all be present in order to work
o 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

o Config::Any
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CONFIG::ANY::BASE (3) 2016-03-31

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.