perl-MooX-StrictConstructor-0.008-1.amzn1.src.rpm

STEP 1: Have you installed this repository?

If not, run this installation script command:

curl -s https://packagecloud.io/install/repositories/waghanza/maxmind/script.rpm.sh | sudo bash
copy
curl -s https://packagecloud.io/install/repositories/waghanza/maxmind/script.rpm.sh | sudo bash

STEP 2: Install the package
yumdownloader --source perl-MooX-StrictConstructor-0.008-1.amzn1.src
rpm -ivh ./perl-MooX-StrictConstructor-0.008-1.amzn1.src.rpm

Make your Moo-based object constructors blow up on unknown attributes

Full 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.

Checksums

MD5 5fcd31c62df53331afc594a0347ab5f1
SHA1 57586e474eca49933ae040e93f1744ab696e7f93
SHA256 da6e983c2070105da1afe875f93ff8be6c2fd762dd2d58d8f2f409fce31f3cd2
SHA512 90a7cb301043744e6e174dedb4d03f218e549051192a7f228964cee7c23b827b35ad9b5c30fef336346f21661a2c0e0150eb0ade8e8bcab9032eeebdc21236a1

Requires

  • perl(ExtUtils::MakeMaker)
  • perl
  • perl-devel
  • perl-generators

Files

  • perl-MooX-StrictConstructor.spec
  • MooX-StrictConstructor-0.008.tar.gz

Uploaded

almost 9 years ago

Package Size

16.8 KB

Installed Size

15.1 KB

Downloads

19

wget

wget --content-disposition "https://packagecloud.io/waghanza/maxmind/packages/el/6/perl-MooX-StrictConstructor-0.008-1.amzn1.src.rpm/download.rpm?distro_version_id=27"

Homepage

http://metacpan.org/release/MooX-StrictConstructor/

License

GPL+ or Artistic