Balík: libperlx-maybe-perl (1.202-1)
Odkazy pre libperlx-maybe-perl
Zdroje Debian:
Stiahnuť zdrojový balík libperlx-maybe-perl:
- [libperlx-maybe-perl_1.202-1.dsc]
- [libperlx-maybe-perl_1.202.orig.tar.gz]
- [libperlx-maybe-perl_1.202-1.debian.tar.xz]
Správcovia:
- Debian Perl Group (Stránka QA, Konferencia)
- Jonas Smedegaard (Stránka QA)
- Florian Schlichting (Stránka QA)
Externé zdroje:
- Domovská stránka [metacpan.org]
Podobné balíky:
return a pair only if they are both defined
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.
PerlX::Maybe checks that $x and $y are both defined. If they are, it returns them both as a list; otherwise it returns the empty list.
This package also includes Syntax::Feature::Maybe.
Ostatné balíky súvisiace s balíkom libperlx-maybe-perl
|
|
|
|
-
- dep: libmodule-manifest-skip-perl
- MANIFEST.SKIP management for Perl modules
-
- dep: perl
- Practical Extraction and Report Language od Larryho Walla
-
- rec: libexporter-tiny-perl
- drobný exportér podobný Sub::Exporter
-
- rec: libperlx-maybe-xs-perl
- XS backend for PerlX::Maybe
-
- sug: libsyntax-perl
- pragma for activating syntax extensions
Stiahnuť libperlx-maybe-perl
Architektúra | Veľkosť balíka | Nainštalovaná veľkosť | Súbory |
---|---|---|---|
all | 13.8 kB | 38.0 kB | [zoznam súborov] |