414b72bdc0
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: http://search.cpan.org/dist/File-ShareDir-PAR/ PR: ports/132406 Submitted by: Cezary Morga <cm at therek.net>
10 lines
567 B
Text
10 lines
567 B
Text
%%SITE_PERL%%/auto/share/dist/File-ShareDir-PAR/sample.txt
|
|
%%SITE_PERL%%/auto/share/dist/File-ShareDir-PAR/subdir/sample.txt
|
|
%%SITE_PERL%%/auto/share/module/File-ShareDir-PAR/test_file.txt
|
|
%%SITE_PERL%%/File/ShareDir/PAR.pm
|
|
%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/ShareDir/PAR/.packlist
|
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/ShareDir/PAR
|
|
@dirrmtry %%SITE_PERL%%/auto/share/module/File-ShareDir-PAR
|
|
@dirrmtry %%SITE_PERL%%/auto/share/dist/File-ShareDir-PAR/subdir
|
|
@dirrmtry %%SITE_PERL%%/auto/share/dist/File-ShareDir-PAR
|
|
@dirrmtry %%SITE_PERL%%/File/ShareDir
|