NAME

Resource::Silo::Metadata - resource container metadata for Resource::Silo.

DESCRIPTION

This class stores information about available resources in a specific container class. Normally only used internally.

See also "meta" in Resource::Silo.

METHODS

new( $target )

$target is the name of the module where resource access methods will be created.

add( $resource_name, ... )

Create resource type. See "resource" in Resource::Silo for details.

list

Returns a list (or arrayref in scalar context) containing the names of known resources.

EXPERIMENTAL. Return value structure is subject to change.

COPYRIGHT AND LICENSE

Copyright (c) 2023, Konstantin Uvarin, <khedin@gmail.com>

This program is free software. You can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation, or the Artistic License.

See http://dev.perl.org/licenses/ for more information.