p5-MooX-StrictConstructor

blow up Moo-based object constructors on unknown attributes

WWW CVSWeb GITHub
  1. Package version
    p5-MooX-StrictConstructor-0.011
  2. Maintainer
    The OpenBSD ports mailing-list

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.

  • devel/p5-Class-Method-Modifiers
  • devel/p5-Moo
  • STEM->=1:devel/p5-strictures