debian/0000755000000000000000000000000012261117116007164 5ustar debian/rules0000755000000000000000000000003612261117116010243 0ustar #!/usr/bin/make -f %: dh $@ debian/control0000644000000000000000000000231012261117116010563 0ustar Source: libmodule-want-perl Maintainer: Debian Perl Group Uploaders: gregor herrmann Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: libfile-path-tiny-perl, libtest-carp-perl, perl Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libmodule-want-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libmodule-want-perl.git Homepage: https://metacpan.org/release/Module-Want Package: libmodule-want-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends} Description: module to check @INC only once for wanted modules Sometimes you want to lazy load a module for use in, say, a loop or function. First you do the eval-require but then realize if the module is not available it will re-search @INC each time. So then you add a lexical boolean to your eval and do the same simple logic all over the place. . Module::Want encapsulates that logic so that have_mod() is like eval { require X; 1 } but if the module can't be loaded it will remember that fact and not look in @INC again on subsequent calls. debian/source/0000755000000000000000000000000012261117116010464 5ustar debian/source/format0000644000000000000000000000001412261117116011672 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000024412261117116011036 0ustar libmodule-want-perl (0.6-1) unstable; urgency=low * Initial release (closes: #733903). -- gregor herrmann Thu, 02 Jan 2014 00:01:30 +0100 debian/compat0000644000000000000000000000000212261117116010362 0ustar 8 debian/copyright0000644000000000000000000000207212261117116011120 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: https://metacpan.org/release/Module-Want Upstream-Contact: Daniel Muey Upstream-Name: Module-Want Files: * Copyright: 2010, Daniel Muey License: Artistic or GPL-1+ Files: debian/* Copyright: 2014, gregor herrmann License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/watch0000644000000000000000000000016312261117116010215 0ustar version=3 https://metacpan.org/release/Module-Want .*/Module-Want-v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$