Пакет perl-MooseX-Types-LoadableClass: Информация
Исходный пакет: perl-MooseX-Types-LoadableClass
Версия: 0.016-alt1
Собран: 24 апреля 2025 г. 18:11 в задании #382501
Категория: Разработка/Perl
Сообщить об ошибке в пакетеДомашняя страница: http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/MooseX-Types-LoadableClass-0.006.tar.gz
Лицензия: Artistic
О пакете: ClassName type constraint with coercion to load the class
Описание:
use Moose::Util::TypeConstraints;
my $tc = subtype as ClassName;
coerce $tc, from Str, via { Class::MOP::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.Сопровождающий: Igor Vlasenko
Последнее изменение
24 апреля 2025 г. Igor Vlasenko 0.016-alt1
- automated CPAN update
2 августа 2017 г. Igor Vlasenko 0.015-alt1
- automated CPAN update
9 апреля 2016 г. Igor Vlasenko 0.014-alt1.1
- rebuild to restore role requires