libperlx-maybe-perl - return a pair only if they are both defined

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: libperlx-maybe-perl
Package version: 1.001
Package release: 1
Package architecture: all
Package type: deb
Installed size: 79 B
Download size: 15.73 KB
Official Mirror:
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.



    Source package: libperlx-maybe-perl

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install libperlx-maybe-perl deb package:
      # sudo apt-get install libperlx-maybe-perl


    • /usr/share/doc/libperlx-maybe-perl/CREDITS
    • /usr/share/doc/libperlx-maybe-perl/README
    • /usr/share/doc/libperlx-maybe-perl/buildinfo_all.gz
    • /usr/share/doc/libperlx-maybe-perl/changelog.Debian.gz
    • /usr/share/doc/libperlx-maybe-perl/changelog.gz
    • /usr/share/doc/libperlx-maybe-perl/copyright
    • /usr/share/lintian/overrides/libperlx-maybe-perl
    • /usr/share/man/man3/PerlX::Maybe.3pm.gz
    • /usr/share/man/man3/Syntax::Feature::Maybe.3pm.gz
    • /usr/share/perl5/PerlX/
    • /usr/share/perl5/Syntax/Feature/


    2014-10-09 - Axel Beckert <> libperlx-maybe-perl (1.001-1) unstable; urgency=low * Team upload [ Salvatore Bonaccorso ] * Update Vcs-Browser URL to cgit web frontend [ Axel Beckert ] * Import new upstream release * Add lintian override for "using-first-person-in-description: my" * Add Makefile.old to debian/clean * Fix pkg-perl-specific lintian warning missing-testsuite-header * Bump Standards-Version to 3.9.6 (no changes needed)

    2014-05-30 - Jonas Smedegaard <> libperlx-maybe-perl (1.000-2) unstable; urgency=medium * Update copyright info: + Update coverage for CONTRIBUTING file (freeing 2k of legalese).

    2014-05-18 - Jonas Smedegaard <> libperlx-maybe-perl (1.000-1) unstable; urgency=medium [ upstream ] * New release(s). + Switch packaging to Dist::Inkt. [ Jonas Smedegaard ] * Bump to standards-version 3.9.5. * Fix use canonical Vcs-Git URL. * Update copyright info: + Add git URL as alternate source. + Extend coverage of packaging. + Drop Files sections for no longer shipped convenience code copies. + Cover CONTRIBUTING file, licensed as CC-BY-SA_UK-2.0. * Stop track tarball checksum: Check against upstrem git instead. * Update watch file to use URL, and stop track development releases.

    2013-06-08 - Jonas Smedegaard <> libperlx-maybe-perl (0.004-1) unstable; urgency=low [ upstream ] * New release. + Silence warnings under 'perl -w'. (But you shouldn't use 'perl -w' anyway.) [ Jonas Smedegaard ] * Add README.source emphasizing file as *not* a show-stopper for contributions, referring to wiki page for details. * Bump packaging license to GPL-3+, and extend copyrigt coverage for myself to include current year. * Drop copyright file Files sections for no longer shipped convenience code copies.

    2013-04-12 - Jonas Smedegaard <> libperlx-maybe-perl (0.003-1) unstable; urgency=low [ upstream ] * New release. [ Salvatore Bonaccorso ] * Use canonical hostname in Vcs-Git URI. [ Jonas Smedegaard ] * Stop track or support import of upstream development releases. * Revert wrong fix for lintian warning. * Update copyright file: + Fix use pseudo-license and pseudo-comment to obey silly restrictions of copyright format 1.0. + Cover yet another convenience code copy. + Extend coverage to current year for main author. * Use URL as Homepage, to match upstream meta hint. * Update package relations: + Recommend libperlx-maybe-xs-perl. + Suggest libsyntax-perl. + Relax to build-depend unversioned on cdbs: Needed version satisfied in stable, and oldstable no longer supported. * Bump dephelper compatibility level to 8. * Bump standards-version to 3.9.4. * Have git-buildpackage ignore upstream .gitignore files. * Mention Syntax::Feature::Maybe in long description. * Drop patch 1001: Fixed in CDBS (see bug#652274).

    2012-06-06 - Jonas Smedegaard <> libperlx-maybe-perl (0.002-1) unstable; urgency=low * Initial packaging release. Closes: bug#676292.