libuniversal-require-perl 0.19-3 source package in Ubuntu
Changelog
libuniversal-require-perl (0.19-3) unstable; urgency=medium [ Debian Janitor ] * Wrap long lines in changelog entries: 0.19-2. * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse. * Update standards version to 4.6.1, no changes needed. -- Jelmer Vernooij <email address hidden> Sat, 19 Nov 2022 13:48:52 +0000
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 |
---|---|---|
libuniversal-require-perl_0.19-3.dsc | 2.2 KiB | 021a73c9e6c8cf25555f30a2928f9bc17b3d09fb22e71185ca9e038da4e3aa7a |
libuniversal-require-perl_0.19.orig.tar.gz | 6.1 KiB | d467cd26e06c8c3b203fd3bc0796ae6c837ac5e310093c82267ff5df850f1a03 |
libuniversal-require-perl_0.19-3.debian.tar.xz | 3.3 KiB | 014ef2ab8ea92ba6b40c54453fb70bfbacfdbba00450e95b70dae45cf06a8198 |
Available diffs
- diff from 0.19-1 to 0.19-3 (975 bytes)
- diff from 0.19-2 to 0.19-3 (781 bytes)
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.