libuniversal-require-perl 0.18-1 source package in Ubuntu
Changelog
libuniversal-require-perl (0.18-1) unstable; urgency=medium [ Salvatore Bonaccorso ] * Update Vcs-Browser URL to cgit web frontend [ Florian Schlichting ] * Add debian/upstream/metadata * Import upstream version 0.18 [ Salvatore Bonaccorso ] * debian/control: Use HTTPS transport protocol for Vcs-Git URI [ gregor herrmann ] * debian/copyright: change Copyright-Format 1.0 URL to HTTPS. * debian/upstream/metadata: use HTTPS for GitHub URLs. * Remove AGOSTINI Yves from Uploaders. Thanks for your work! [ Salvatore Bonaccorso ] * Update Vcs-* headers for switch to salsa.debian.org [ gregor herrmann ] * Update years of packaging copyright. * Declare compliance with Debian Policy 4.1.4. * Bump debhelper compatibility level to 10. -- gregor herrmann <email address hidden> Mon, 16 Apr 2018 21:00:57 +0200
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 | |
---|---|---|---|---|
Focal | release | universe | perl |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libuniversal-require-perl_0.18-1.dsc | 2.3 KiB | 21dd91b7b839435951529897e9e205cffa26ac67a6a1e3918cfdd66758aad574 |
libuniversal-require-perl_0.18.orig.tar.gz | 5.7 KiB | b2a736a87967a143dab58c8a110501d5235bcdd2c8b2a3bfffcd3c0bd06b38ed |
libuniversal-require-perl_0.18-1.debian.tar.xz | 2.9 KiB | 401e25e07455c99bee55c6fe8b3d4bec2112a2d8682907ca150b2753aadd8f1f |
Available diffs
- diff from 0.17-1 to 0.18-1 (2.9 KiB)
No changes file available.
Binary packages built by this source
- libuniversal-require-perl: Load modules from a variable (deprecated)
This works exactly like the standard require in Perl, except without
the bareword restriction, and it does not die. Since require() is
placed in the UNIVERSAL namespace, it will work on any module. You
just have to use UNIVERSAL::require somewhere in your code.
.
If you have ever had to do this...
.
eval "require $module";
.
to get around the bareword caveats on require(), this module is for
you. It creates a universal require() class method that will work
with every Perl module and it is secure. So instead of doing some
arcane eval() work, you can do this:
.
$module->require;
.
It does not save you much typing, but it will make a lot more sense
to someone who is not a ninth level Perl acolyte.
.
Also provided is a use() method which works in a similar way.
.
NOTE that UNIVERSAL::require is considered deprecated by its author, who
suggestest to look at a number of better suited and more actively maintained
alternatives discussed in the POD's "SEE ALSO" section.