Make your Moo-based object constructors blow up on unknown attributes
37.93 KB
built 2026-10-16 22:21:05 GMT
Description
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.
Dependencies
22 totalRequires20
- coreutils
- make
- perl(:VERSION) >= 5.6.0
- perl(Carp)
- perl(Config)
- perl(ExtUtils::MakeMaker) >= 6.76
- perl(File::Spec)
- perl(IO::Handle)
- perl(IPC::Open3)
- perl(Moo) >= 2.004000
- perl(Moo::Role)
- perl(Test::Fatal)
- perl(Test::More) >= 0.88
- perl(blib)
- perl(strict)
- perl(warnings)
- perl-generators
- perl-interpreter
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides2
- perl-MooX-StrictConstructor = 0.013-5.fc45
- perl-MooX-StrictConstructor-tests = 0.013-5.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| MooX-StrictConstructor-0.013.tar.gz | 21.02 KB |
| perl-MooX-StrictConstructor.spec | 6.31 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
