SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-MooseX-SingleArg rpm build for : OpenSuSE. For other distributions click perl-MooseX-SingleArg.

Name : perl-MooseX-SingleArg
Version : 0.09 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp155.1.1 Date : 2023-07-20 21:09:24
Group : Development/Libraries/Perl Source RPM : perl-MooseX-SingleArg-0.09-lp155.1.1.src.rpm
Size : 0.03 MB
Packager : https://www_suse_com/
Summary : No-fuss instantiation of Moose objects using a single argument
Description :
This module allows Moose instances to be constructed with a single
argument. Your class or role must use this module and then use the
single_arg sugar to declare which attribute will be assigned the single
argument value.

If the class is constructed using the typical argument list name/value
pairs, or with a hashref, then things work as is usual. But, if the
arguments are a single non-hashref value then that argument will be
assigned to whatever attribute you have declared.

The reason for this module\'s existence is that when people want this
feature they usually find Moose::Cookbook::Basics::Person_BUILDARGSAndBUILD
which asks that something like the following be written:

around BUILDARGS => sub {
my $orig = shift;
my $class = shift;

if ( AATT_ == 1 && ! ref $_[0] ) {
return $class->$orig(ssn => $_[0]);
}
else {
return $class->$orig(AATT_);
}
};

The above is complex boilerplate for a simple feature. This module aims to
make it simple and fool-proof to support single-argument Moose object
construction.

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

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-MooseX-SingleArg-0.09-lp155.1.1.noarch.rpm
     

Provides :
perl(MooseX::SingleArg)
perl(MooseX::SingleArg::Meta::Class)
perl(MooseX::SingleArg::Meta::Object)
perl(MooseX::SingleArg::Meta::Role)
perl(MooseX::SingleArg::Meta::ToClass)
perl(MooseX::SingleArg::Meta::ToRole)
perl-MooseX-SingleArg

Requires :
perl(:MODULE_COMPAT_5.26.1)
perl(Moose) >= 1.23
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/MooseX
/usr/lib/perl5/vendor_perl/5.26.1/MooseX/SingleArg
/usr/lib/perl5/vendor_perl/5.26.1/MooseX/SingleArg.pm
/usr/lib/perl5/vendor_perl/5.26.1/MooseX/SingleArg/Meta
/usr/lib/perl5/vendor_perl/5.26.1/MooseX/SingleArg/Meta/Class.pm
/usr/lib/perl5/vendor_perl/5.26.1/MooseX/SingleArg/Meta/Object.pm
/usr/lib/perl5/vendor_perl/5.26.1/MooseX/SingleArg/Meta/Role.pm
/usr/lib/perl5/vendor_perl/5.26.1/MooseX/SingleArg/Meta/ToClass.pm
/usr/lib/perl5/vendor_perl/5.26.1/MooseX/SingleArg/Meta/ToRole.pm
/usr/share/doc/packages/perl-MooseX-SingleArg
/usr/share/doc/packages/perl-MooseX-SingleArg/Changes
/usr/share/doc/packages/perl-MooseX-SingleArg/README.md
/usr/share/doc/packages/perl-MooseX-SingleArg/minil.toml
/usr/share/licenses/perl-MooseX-SingleArg
/usr/share/licenses/perl-MooseX-SingleArg/LICENSE
/usr/share/man/man3/MooseX::SingleArg.3pm.gz
/usr/share/man/man3/MooseX::SingleArg::Meta::Class.3pm.gz
/usr/share/man/man3/MooseX::SingleArg::Meta::Object.3pm.gz
/usr/share/man/man3/MooseX::SingleArg::Meta::Role.3pm.gz
/usr/share/man/man3/MooseX::SingleArg::Meta::ToClass.3pm.gz
/usr/share/man/man3/MooseX::SingleArg::Meta::ToRole.3pm.gz

 
ICM