Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-MooseX-Types-LoadableClass | Distribution: openSUSE Tumbleweed |
Version: 0.015 | Vendor: openSUSE |
Release: 1.28 | Build date: Sat Jun 17 07:56:42 2017 |
Group: Development/Libraries/Perl | Build host: reproducible |
Size: 29692 | Source RPM: perl-MooseX-Types-LoadableClass-0.015-1.28.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: http://search.cpan.org/dist/MooseX-Types-LoadableClass/ | |
Summary: ClassName type constraint with coercion to load the class |
use Moose::Util::TypeConstraints; my $tc = subtype as ClassName; coerce $tc, from Str, via { Class::Load::load_class($_); $_ }; I've written those three lines of code quite a lot of times, in quite a lot of places. Now I don't have to.
Artistic-1.0 or GPL-1.0+
* Sat Jun 17 2017 coolo@suse.com - updated to 0.015 see /usr/share/doc/packages/perl-MooseX-Types-LoadableClass/Changes 0.015 2017-06-16 23:37:46Z - do not create an extra, unused ClassName type (this fixes a problem observed with MooseX::Types and Sub::Defer; see RT#119534) * Sun Aug 23 2015 coolo@suse.com - updated to 0.014 see /usr/share/doc/packages/perl-MooseX-Types-LoadableClass/Changes 0.014 2015-08-16 02:03:26Z - update some distribution tooling * Fri Feb 06 2015 coolo@suse.com - updated to 0.013 - switch from Class::Load to Module::Runtime for loading modules * Tue Nov 26 2013 coolo@suse.com - updated to 0.012 - re-release with fixed encoding in metadata, support files - only try to load the class if it's a valid module name (ilmari) - avoid trying to load the class if already loaded (minor optimization) - repository moved to the github moose organization * Sat Jul 27 2013 coolo@suse.com - updated to 0.009 - now performing type checking in the type check itself, not the coercion, to fix results when the type check fails (RT#86041, Karen Etheridge) * Wed Jun 05 2013 coolo@suse.com - updated to 0.008 - Do not require Test::Exception. RT#75246 * Fri Feb 17 2012 coolo@suse.com - updated to 0.007 - Be more paranoid about the potential for $_ being clobbered. * Sat Nov 19 2011 coolo@suse.com - initial package 0.006 * created by cpanspec 1.78.06
/usr/lib/perl5/vendor_perl/5.40.0/MooseX /usr/lib/perl5/vendor_perl/5.40.0/MooseX/Types /usr/lib/perl5/vendor_perl/5.40.0/MooseX/Types/LoadableClass.pm /usr/share/doc/packages/perl-MooseX-Types-LoadableClass /usr/share/doc/packages/perl-MooseX-Types-LoadableClass/CONTRIBUTING /usr/share/doc/packages/perl-MooseX-Types-LoadableClass/Changes /usr/share/doc/packages/perl-MooseX-Types-LoadableClass/LICENCE /usr/share/doc/packages/perl-MooseX-Types-LoadableClass/README /usr/share/man/man3/MooseX::Types::LoadableClass.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Sun Jan 12 00:30:25 2025