libperlx-maybe-perl 1.202-1 source package in Ubuntu
Changelog
libperlx-maybe-perl (1.202-1) unstable; urgency=medium * Team upload. [ gregor herrmann ] * debian/watch: use uscan version 4. [ Nick Morrott ] * New upstream version 1.202 * d/control: - Declare compliance with Debian Policy 4.6.0 - Bump debhelper compatibility level to 13 - Add Rules-Requires-Root: no * d/copyright: - Refresh years of upstream copyright - Refresh years of Debian copyright * d/gbp.conf: - Rename git-import-orig stanza * d/lintian-overrides: - Refresh override line match * d/u/metadata: - Add Bug-Submit and delete Name, Contact fields -- Nick Morrott <email address hidden> Wed, 06 Apr 2022 23:29:27 +0100
Upload details
- Uploaded by:
- Debian Perl Group
- Uploaded to:
- Sid
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- perl
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | perl | |
Noble | release | universe | perl | |
Mantic | release | universe | perl | |
Lunar | release | universe | perl |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libperlx-maybe-perl_1.202-1.dsc | 2.1 KiB | a9184d455159cd6c11db71db60fb08f38af2f6ea1691547fa9577a9e59605bd7 |
libperlx-maybe-perl_1.202.orig.tar.gz | 17.9 KiB | 21a74fafb35a62d3308295c16cb1e0596543207df67d974b3c2516e9bddca308 |
libperlx-maybe-perl_1.202-1.debian.tar.xz | 3.8 KiB | 14f0936e57dba76bf8b961a2eebf159003cc64aef4c7bca382231c3e35541af8 |
Available diffs
- diff from 1.201-1.1 to 1.202-1 (6.1 KiB)
No changes file available.
Binary packages built by this source
- libperlx-maybe-perl: 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.