mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
ad4f267b7a
search.cpan.org is shutting down. It will redirect to metacpan.org after June 25, 2018. With hat: perl
17 lines
829 B
Plaintext
17 lines
829 B
Plaintext
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 @INC 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 @INC for storing the shared data. In a PAR
|
|
enviroment, this is not necessarily possible.
|
|
|
|
WARNING:
|
|
This module contains highly experimental code. If you want to load
|
|
modules from .par files using PAR and then access their shared directory
|
|
using File::ShareDir, you probably have no choice but to use it.
|
|
|
|
WWW: https://metacpan.org/release/File-ShareDir-PAR
|