Package : perl-PerlX-Maybe > RPM : perl-PerlX-Maybe-1.202.0-1.mga9.src.rpm
Basic items
Name | perl-PerlX-Maybe |
Version | 1.202.0 |
Release | 1.mga9 |
URL | https://metacpan.org/release/PerlX-Maybe |
Group | Development/Perl |
Summary | Use syntax qw/maybe/ |
Size | 21KB |
Arch | noarch |
License | GPL+ or Artistic |
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.
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.
Media information
Distribution release | Mageia cauldron |
Media name | core-release |
Media arch | i586 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2022-03-17 11:13:30 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |