Name : perl-lib-abs
| |
Version : 0.950.0
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 150500.1.1
| Date : 2024-08-06 22:51:30
|
Group : Unspecified
| Source RPM : perl-lib-abs-0.950.0-150500.1.1.src.rpm
|
Size : 0.01 MB
| |
Packager : https://www_suse_com/
| |
Summary : Lib that makes relative path absolute to caller
|
Description :
The main reason of this library is transformate relative paths to absolute at the \'BEGIN\' stage, and push transformed to \'AATTINC\'. Relative path basis is not the current working directory, but the location of file, where the statement is (caller file). When using common \'lib\', relative paths stays relative to curernt working directory,
use lib::abs \'../lib\';
Also this module is useful when writing tests, when you want to load strictly the module from ../lib, respecting the test file.
use lib::abs \'../lib\';
Also this is useful, when you running under \'mod_perl\', use something like \'Apache::StatINC\', and your application may change working directory. So in case of chdir \'StatINC\' fails to reload module if the AATTINC contain relative paths.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/SLE_15_SP5/noarch |