SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

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

Name : perl-MooseX-Traits
Version : 0.13 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp155.1.1 Date : 2023-07-20 15:28:04
Group : Development/Libraries/Perl Source RPM : perl-MooseX-Traits-0.13-lp155.1.1.src.rpm
Size : 0.04 MB
Packager : https://www_suse_com/
Summary : Automatically apply roles at object creation time
Description :
Often you want to create components that can be added to a class
arbitrarily. This module makes it easy for the end user to use these
components. Instead of requiring the user to create a named class with the
desired roles applied, or apply roles to the instance one-by-one, he can
just create a new class from yours with \'with_traits\', and then instantiate
that.

There is also \'new_with_traits\', which exists for compatibility reasons. It
accepts a \'traits\' parameter, creates a new class with those traits, and
then instantiates it.

Class->new_with_traits( traits => [qw/Foo Bar/], foo => 42, bar => 1 )

returns exactly the same object as

Class->with_traits(qw/Foo Bar/)->new( foo => 42, bar => 1 )

would. But you can also store the result of \'with_traits\', and call other
methods:

my $c = Class->with_traits(qw/Foo Bar/);
$c->new( foo => 42 );
$c->whatever( foo => 1234 );

And so on.

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-Traits-0.13-lp155.1.1.noarch.rpm
     

Provides :
perl(MooseX::Traits)
perl(MooseX::Traits::Util)
perl-MooseX-Traits

Requires :
perl(:MODULE_COMPAT_5.26.1)
perl(Class::Load)
perl(Moose::Role)
perl(Sub::Exporter)
perl(namespace::autoclean)
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/Traits
/usr/lib/perl5/vendor_perl/5.26.1/MooseX/Traits.pm
/usr/lib/perl5/vendor_perl/5.26.1/MooseX/Traits/Util.pm
/usr/share/doc/packages/perl-MooseX-Traits
/usr/share/doc/packages/perl-MooseX-Traits/CONTRIBUTING
/usr/share/doc/packages/perl-MooseX-Traits/Changes
/usr/share/doc/packages/perl-MooseX-Traits/README
/usr/share/licenses/perl-MooseX-Traits
/usr/share/licenses/perl-MooseX-Traits/LICENSE
/usr/share/man/man3/MooseX::Traits.3pm.gz
/usr/share/man/man3/MooseX::Traits::Util.3pm.gz

 
ICM