Name : perl-thanks
| |
Version : 0.005
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp154.1.1
| Date : 2023-01-27 18:46:40
|
Group : Development/Libraries/Perl
| Source RPM : perl-thanks-0.005-lp154.1.1.src.rpm
|
Size : 0.04 MB
| |
Packager : https://www_suse_com/
| |
Summary : inline packages easily
|
Description :
This module asks Perl politely not to load a module you don\'t want loading. It\'s just a polite request; we\'re not forcing Perl to do anything it doesn\'t want to. And if the module is already loaded, then we won\'t try to unload it or anything like that.
Specifically, Perl\'s \'use Module::Name\' syntax does two things. It reads, compiles and executes \'Module/Name.pm\', and calls the class method \'Module::Name->import\'. This module is designed to prevent the first thing happening, not the second thing.
How does it work? Perl keeps a record of what modules have already been loaded in the \'%INC\' global hash, to avoid reloading them. This module just adds an entry to that hash to trick Perl into thinking that a module has already been loaded.
\'thanks\' is a deliberately light-weight module. It has no dependencies (not even the strict manpage or the warnings manpage) and is believed to work in any release of Perl 5. (The installation and testing scripts have more dependencies, but if push comes to shove, you can manually copy thanks.pm to an appropriate location.)
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.4/noarch |