Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-MooseX-Types | Distribution: openSUSE Tumbleweed |
Version: 0.50 | Vendor: openSUSE |
Release: 1.29 | Build date: Wed Feb 8 07:11:51 2017 |
Group: Development/Libraries/Perl | Build host: reproducible |
Size: 124680 | Source RPM: perl-MooseX-Types-0.50-1.29.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: http://search.cpan.org/dist/MooseX-Types/ | |
Summary: Organise your Moose types in libraries |
The type system provided by Moose effectively makes all of its builtin type global, as are any types you declare with Moose. This means that every module that declares a type named 'PositiveInt' is sharing the same type object. This can be a problem when different parts of the code base want to use the same name for different things. This package lets you declare types using short names, but behind the scenes it namespaces all your type declarations, effectively prevent name clashes between packages. This is done by creating a type library module like 'MyApp::Types' and then importing types from that module into other modules. As a side effect, the declaration mechanism allows you to write type names as barewords (really function calls), which catches typos in names at compile time rather than run time. This module also provides some helper functions for using Moose types outside of attribute declarations. If you mix string-based names with types created by this module, it will warn, with a few exceptions. If you are declaring a 'class_type()' or 'role_type()' within your type library, or if you use a fully qualified name like '"MyApp::Foo"'.
Artistic-1.0 or GPL-1.0+
* Wed Feb 08 2017 [email protected] - updated to 0.50 see /usr/share/doc/packages/perl-MooseX-Types/Changes 0.50 2017-02-07 18:59:30Z - reverted the is_Fo and to_Foo refactoring again temporarily to resolve issues with Sub::Defer * Fri Dec 23 2016 [email protected] - updated to 0.49 see /usr/share/doc/packages/perl-MooseX-Types/Changes 0.49 2016-12-23 00:12:12Z - made the exported is_Foo and to_Foo subs much faster, especially for type constraints which can be inlined. (Dave Rolsky) * Thu Dec 08 2016 [email protected] - updated to 0.48 see /usr/share/doc/packages/perl-MooseX-Types/Changes 0.48 2016-12-07 01:15:14Z - reverted is_Foo and to_Foo refactoring [from 0.47] for now, so they can be reworked 0.47 2016-12-07 00:40:34Z - allow type libraries built with MooseX::Types::Combine to be combined with MooseX::Types::Combine. (GH #1, Mark Fowler). - made the exported is_Foo and to_Foo subs much faster, especially for type constraints which can be inlined [reverted in 0.48] * Wed Aug 19 2015 [email protected] - updated to 0.46 see /usr/share/doc/packages/perl-MooseX-Types/Changes 0.46 2015-08-16 00:43:46Z - make use of Sub::Exporter::ForMethods's new rebless option * Mon Sep 15 2014 [email protected] - updated to 0.45 - increase the required versions of some prerequisites * Mon Mar 10 2014 [email protected] - updated to 0.44 - full respect for namespaces: declared types are now properly installed into the proper package, so they survive namespace::autoclean; however, types imported from the declaration class are still properly cleaned by namespace::autoclean (as implemented in trial versions 0.40-0.43) - line numbers in shipped code are now almost the same (within 3) as the repository source, for easier debugging - skipped new namespacing tests that fail with older Moose versions, due to an inability to install blessed subs - declared (not imported) types are now properly installed into the proper package, so they survive namespace::autoclean (fixed this time) * Sun Feb 09 2014 [email protected] - updated to 0.41 - reversed changes in 0.40, until compatibility issues with older Moose versions are figured out - types are now properly installed into the proper package, so they survive namespace::autoclean * Mon Dec 09 2013 [email protected] - updated to 0.39 - more strict warnings checking in tests - re-release to fix compile test * Fri Oct 04 2013 [email protected] - updated to 0.38 - removed use of deprecated enum syntax - removed use of deprecated Class::MOP::load_class - repository has moved to the GitHub Moose organization * Wed Jul 24 2013 [email protected] - updated to 0.36 - fixed failing tests on 5.8.5 due to incorrect == overload (RT#77100, Graham Knop)
/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.pm /usr/lib/perl5/vendor_perl/5.40.0/MooseX/Types/Base.pm /usr/lib/perl5/vendor_perl/5.40.0/MooseX/Types/CheckedUtilExports.pm /usr/lib/perl5/vendor_perl/5.40.0/MooseX/Types/Combine.pm /usr/lib/perl5/vendor_perl/5.40.0/MooseX/Types/Moose.pm /usr/lib/perl5/vendor_perl/5.40.0/MooseX/Types/TypeDecorator.pm /usr/lib/perl5/vendor_perl/5.40.0/MooseX/Types/UndefinedType.pm /usr/lib/perl5/vendor_perl/5.40.0/MooseX/Types/Util.pm /usr/lib/perl5/vendor_perl/5.40.0/MooseX/Types/Wrapper.pm /usr/share/doc/packages/perl-MooseX-Types /usr/share/doc/packages/perl-MooseX-Types/CONTRIBUTING /usr/share/doc/packages/perl-MooseX-Types/Changes /usr/share/doc/packages/perl-MooseX-Types/LICENCE /usr/share/doc/packages/perl-MooseX-Types/README /usr/share/man/man3/MooseX::Types.3pm.gz /usr/share/man/man3/MooseX::Types::Base.3pm.gz /usr/share/man/man3/MooseX::Types::CheckedUtilExports.3pm.gz /usr/share/man/man3/MooseX::Types::Combine.3pm.gz /usr/share/man/man3/MooseX::Types::Moose.3pm.gz /usr/share/man/man3/MooseX::Types::TypeDecorator.3pm.gz /usr/share/man/man3/MooseX::Types::UndefinedType.3pm.gz /usr/share/man/man3/MooseX::Types::Util.3pm.gz /usr/share/man/man3/MooseX::Types::Wrapper.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Sun Jan 12 00:30:25 2025