Name : perl-File-ShareDir-PAR
| |
Version : 0.06
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp154.8.1
| Date : 2023-01-27 15:55:33
|
Group : Development/Libraries/Perl
| Source RPM : perl-File-ShareDir-PAR-0.06-lp154.8.1.src.rpm
|
Size : 0.03 MB
| |
Packager : https://www_suse_com/
| |
Summary : File::ShareDir with PAR support
|
Description :
\'File::ShareDir::PAR\' provides the same functionality as File::ShareDir but tries hard to be compatible with PAR packaged applications.
The problem is, that the concept of having a distribution or module specific _share_ directory becomes a little hazy when you\'re loading everything from a single file. PAR uses an \'AATTINC\' hook to intercept any attempt to load a module. File::ShareDir uses the directory structure that is typically found in the directories that are listed in \'AATTINC\' for storing the shared data. In a \'PAR\' enviroment, this is not necessarily possible.
When you call one of the functions that this module provides, it will take care to search in any of the currently loaded \'.par\' files before scanning \'AATTINC\'. This is the same order of preference you get for loading modules when PAR is in effect. If the path or file you are asking for is found in one of the loaded \'.par\' files, that containing \'.par\' file is extracted and the path returned will point to the extracted copy on disk.
Depending on how you\'re using PAR, the files that are extracted this way are either cleaned up after program termination or cached for further executions. Either way, you\'re safe if you use the shared data as read-only data. If you write to it, your changes may be lost after the program ends.
For any further usage information, including the list of exportable functions, please refer to the documentation of File::ShareDir.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-F/15.4/noarch |