Package: perl-MooX-StrictConstructor (0.011-bp156.2.1)
Make your Moo-based object constructors blow up on unknown attributes
Simply loading this module makes your constructors "strict". If your constructor is called with an attribute init argument that your class does not declare, then it dies. This is a great way to catch small typos. Your application can use Carp::Always to generate stack traces on 'die'. Previously all exceptions contained traces, but this could potentially leak sensitive information, e.g. My::Sensitive::Class->new( password => $sensitive, extra_value => 'foo' );
Package information
- Homepage
- [https://metacpan.org/release/MooX-StrictConstructor]
- License
- Artistic-1.0 OR GPL-1.0-or-later
- Maintainer del pacchetto downstream
- Sconosciuto: non segnalato nella fonte indicizzata
- Pacchetto sorgente
- [perl-MooX-StrictConstructor]
- Software project
- [libmoox-strictconstructor-perl]
Versions and downloads for perl-MooX-StrictConstructor
| Version / release | Architecture / repository | Package size | Installed size | Files | Publisher repository artifact |
|---|---|---|---|---|---|
| 0.011-bp156.2.1leap-15.6 / oss | noarchopenSUSE Leap 15.6 · OSS · multi-architecture | 26 KiB | 31 KiB | list of files | perl-MooX-StrictConstructor-0.011-bp156.2.1.noarch.rpm |
About these downloads
Ogni riga è metadato dell'indice pacchetti per una versione, architettura, suite e repository. Nomi, URL e dimensioni arrivano dalla fonte; un link è un punto di recupero mutabile, non una redistribuzione OpenFactory.
Dependencies and recommendations for perl-MooX-StrictConstructor
dep: perl(:MODULE_COMPAT_5.26.1)
Package not available
dep: perl(Class::Method::Modifiers)
Package not available
dep: perl(Moo) (>= 1.001000)
Package not available
dep: perl(Moo::Role)
Package not available
dep: perl(strictures) (>= 1)
Package not available
Percorsi file del pacchetto (14)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
- /usr/lib/perl5/vendor_perl/5.26.1/Method
- /usr/lib/perl5/vendor_perl/5.26.1/Method/Generate
- /usr/lib/perl5/vendor_perl/5.26.1/Method/Generate/Constructor
- /usr/lib/perl5/vendor_perl/5.26.1/Method/Generate/Constructor/Role
- /usr/lib/perl5/vendor_perl/5.26.1/Method/Generate/Constructor/Role/StrictConstructor.pm
- /usr/lib/perl5/vendor_perl/5.26.1/MooX
- /usr/lib/perl5/vendor_perl/5.26.1/MooX/StrictConstructor.pm
- /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
- /usr/share/doc/packages/perl-MooX-StrictConstructor
- /usr/share/doc/packages/perl-MooX-StrictConstructor/Changes
- /usr/share/licenses/perl-MooX-StrictConstructor
- /usr/share/licenses/perl-MooX-StrictConstructor/LICENSE
- /usr/share/man/man3/Method::Generate::Constructor::Role::StrictConstructor.3pm.gz
- /usr/share/man/man3/MooX::StrictConstructor.3pm.gz
Field source: openSUSE Leap 15.6 OSS
