Sophie

Sophie

distrib > Mageia > 8 > i586 > media > core-release-src > by-pkgid > ace19c5a5b29539c35736496f7f2c827

perl-PerlX-Maybe-1.201.0-2.mga8.src.rpm

Description:

Moose classes (and some other classes) distinguish between an attribute
being unset and the attribute being set to undef. Supplying a constructor
arguments like this:

my $bob = Person->new(
name => $name,
age => $age,
);

Will result in the 'name' and 'age' attributes possibly being set to undef
(if the corresponding '$name' and '$age' variables are not defined), which
may violate the Person class' type constraints.

Generated packages:

Other version of this rpm: