SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-MooX-ConfigFromFile rpm build for : openSUSE Tumbleweed. For other distributions click perl-MooX-ConfigFromFile.

Name : perl-MooX-ConfigFromFile
Version : 0.009 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 1.56 Date : 2024-08-05 20:46:37
Group : Development/Libraries/Perl Source RPM : perl-MooX-ConfigFromFile-0.009-1.56.src.rpm
Size : 0.06 MB
Packager : (none)
Summary : Moo eXtension for initializing objects from config file
Description :
This module is intended to easy load initialization values for attributes
on object construction from an appropriate config file. The building is
done in MooX::ConfigFromFile::Role - using MooX::ConfigFromFile ensures the
role is applied.

For easier usage, with 0.004, several options can be passed via _use_
resulting in default initializers for appropriate role attributes:

* \'config_prefix\'

Default for MooX::ConfigFromFile::Role/config_prefix.

* \'config_prefixes\'

Default for MooX::ConfigFromFile::Role/config_prefixes. Ensure when use
this flag together with MooX::Cmd to load \'MooX::ConfigFromFile\' before
\'MooX::Cmd\'.

* \'config_prefix_map_separator\'

Default for MooX::ConfigFromFile::Role/config_prefix_map_separator.

package Foo;



use MooX::ConfigFromFile config_prefix_map_separator => \"~\";

...

* \'config_extensions\'

Default for MooX::ConfigFromFile::Role/config_extensions.

* \'config_dirs\'

Default for MooX::ConfigFromFile::Role/config_dirs. Same warning regarding
modifying this attribute applies here: Possible, but use with caution!

package Foo;

use MooX::ConfigFromFile config_dirs => [qw(/opt/foo/etc /home/alfred/area/foo/etc)];

...

* \'config_files\'

Default for MooX::ConfigFromFile::Role/config_files.

Reasonable when you want exactly one config file in development mode. For
production code it is highly recommended to override the builder.

* \'config_singleton\'

Flag adding a wrapper around the _builder_ of
MooX::ConfigFromFile::Role/loaded_config to ensure a config is loaded only
once per class. The _per class_ restriction results from applicable
modifiers per class (and singletons are per class).

* \'config_identifier\'

Default for MooX::File::ConfigDir/config_identifier.

package Foo;



use MooX::ConfigFromFile config_identifier => \"foo\";

...

* \'config_hashmergeloaded\'

Consumes role MooX::ConfigFromFile::Role::HashMergeLoaded directly after
MooX::ConfigFromFile::Role has been consumed.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-M/openSUSE_Tumbleweed/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-MooX-ConfigFromFile-0.009-1.56.noarch.rpm
     

Provides :
perl(MooX::ConfigFromFile)
perl(MooX::ConfigFromFile::Role)
perl(MooX::ConfigFromFile::Role::HashMergeLoaded)
perl(MooX::ConfigFromFile::Role::SortedByFilename)
perl-MooX-ConfigFromFile

Requires :
perl(:MODULE_COMPAT_5.40.0)
perl(Config::Any)
perl(File::Find::Rule) >= 0.30
perl(Moo) >= 1.003
perl(MooX::File::ConfigDir) >= 0.002
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.40.0/MooX
/usr/lib/perl5/vendor_perl/5.40.0/MooX/ConfigFromFile
/usr/lib/perl5/vendor_perl/5.40.0/MooX/ConfigFromFile.pm
/usr/lib/perl5/vendor_perl/5.40.0/MooX/ConfigFromFile/Role
/usr/lib/perl5/vendor_perl/5.40.0/MooX/ConfigFromFile/Role.pm
/usr/lib/perl5/vendor_perl/5.40.0/MooX/ConfigFromFile/Role/HashMergeLoaded.pm
/usr/lib/perl5/vendor_perl/5.40.0/MooX/ConfigFromFile/Role/SortedByFilename.pm
/usr/share/doc/packages/perl-MooX-ConfigFromFile
/usr/share/doc/packages/perl-MooX-ConfigFromFile/Changes
/usr/share/doc/packages/perl-MooX-ConfigFromFile/GPL-1
/usr/share/doc/packages/perl-MooX-ConfigFromFile/README.md
/usr/share/licenses/perl-MooX-ConfigFromFile
/usr/share/licenses/perl-MooX-ConfigFromFile/ARTISTIC-1.0
/usr/share/licenses/perl-MooX-ConfigFromFile/LICENSE
/usr/share/man/man3/MooX::ConfigFromFile.3pm.gz
/usr/share/man/man3/MooX::ConfigFromFile::Role.3pm.gz
/usr/share/man/man3/MooX::ConfigFromFile::Role::HashMergeLoaded.3pm.gz
/usr/share/man/man3/MooX::ConfigFromFile::Role::SortedByFilename.3pm.gz

 
ICM