Name : perl-Acme-require-case
| |
Version : 0.013
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.58
| Date : 2024-08-05 20:15:54
|
Group : Development/Libraries/Perl
| Source RPM : perl-Acme-require-case-0.013-1.58.src.rpm
|
Size : 0.03 MB
| |
Packager : (none)
| |
Summary : Make Perl\'s require case-sensitive
|
Description :
This module overrides \'CORE::GLOBAL::require\' to make a case-sensitive check for its argument. This prevents \'require foo\' from loading \"Foo.pm\" on case-insensitive filesystems.
It does not respect any prior \'require\' overrides, since it completely replaces \'require\' semantics. Therefore, it should be loaded as early as possible, perhaps on the command line:
perl -MAcme::require::case myprogram.pl
It does not support hooks in \'AATTINC\' and will croak if any are found.
You certainly don\'t want to run this in production, but it might be good for your editor\'s compile command, or in \'PERL5OPT\' during testing.
If you\'re really daring you can stick it in your shell:
export PERL5OPT=-MAcme::require::case
This module walks the filesystem checking case for every \'require\', so it is significantly slower than the built-in \'require\' function.
Global \'require\' overrides are slightly buggy prior to Perl 5.12. If you really care about such things, load Lexical::SealRequireHints after you load this one.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-A/openSUSE_Tumbleweed/noarch |