Name : perl-MooX-StrictConstructor
| |
Version : 0.011
| Vendor : obs://build_opensuse_org/openSUSE
|
Release : lp154.2.1
| Date : 2022-02-17 08:53:36
|
Group : Development/Libraries/Perl
| Source RPM : perl-MooX-StrictConstructor-0.011-lp154.2.1.src.rpm
|
Size : 0.03 MB
| |
Packager : https://www_suse_com/
| |
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:/infrastructure:/MirrorCache/15.4/noarch |