Package : perl-PerlX-Maybe > RPM : perl-PerlX-Maybe-1.201.0-1.mga7.src.rpm
Basic items
Name | perl-PerlX-Maybe |
Version | 1.201.0 |
Release | 1.mga7 |
URL | http://search.cpan.org/dist/PerlX-Maybe |
Group | Development/Perl |
Summary | Use syntax qw/maybe/ |
Size | 20KB |
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 7 |
Media name | core-release |
Media arch | aarch64 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2018-11-25 22:13:48 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |