MouseX::StrictConstructor(3pm)

MouseX::StrictConstructor3pm

Make your object constructors blow up on unknown attributes

Usage

  use Mouse;
  use MouseX::StrictConstructor;

Overview

Simply loading this module makes your constructors "strict". If your constructor is called with an attribute argument that your class does not declare, then it dies. This is a great way to catch small typos.

Releases

7 releases since Debian 7 (Wheezy); the text changed 3 times.

  1. 7–9
  2. 10
  3. 11
  4. 12–13

Bugs

All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.

Author

Fuji, Goro (gfx) <gfuji(at)cpan.org>

From libmousex-strictconstructor-perl 0.02-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.