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 Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.011-bp155.1.4 info | GA Release | 2023-05-17 | 15 SP5 |
|
|