Name : perl-MooX-StrictConstructor
| |
Version : 0.011
| Vendor : openSUSE
|
Release : bp155.1.4
| Date : 2023-05-17 16:15:29
|
Group : Development/Libraries/Perl
| Source RPM : perl-MooX-StrictConstructor-0.011-bp155.1.4.src.rpm
|
Size : 0.03 MB
| |
Packager : https://bugs_opensuse_org
| |
Summary : Make your Moo-based object constructors blow up on unknown attributes
|
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.
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\' );
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/openSUSE:/Backports:/SLE-15-SP5/standard/noarch |