Subject: | pp not packing distribution share dir contents |
Hi,
I have tried to create a PAR archive from a perl script using a module with so called share dir (see http://search.cpan.org/dist/Module-Install/lib/Module/Install/Share.pm or http://search.cpan.org/dist/File-ShareDir/lib/File/ShareDir.pm).
What I have expected is that in my_perl_script.pl does "use MyModule::WithShare;" that PAR packer will also include the content of distribution share dir of the distribution containing MyModule::WithShare. However the resulting PAR file does not seem to contain files installed into dist share dir.
I am not saying this is a bug; maybe I have not specified some necessary parameter when running pp command (I simply run: pp -o test.par my_perl_script.pl) or perhaps this issue should be discussed somewhere else (Module::ScanDeps?).
Some details about my test environment:
- Win32 Strawberry Perl 5.10.1
- PAR::Packer 1.002
- Module::ScanDeps 0.96
Could you please give me some hint on how to get share dir content into a PAR archive? I gues that it should be possible as there exists File::ShareDir::PAR that solves a problem how to find share dir inside PAR (I am currently not even able to create such a PAR).
Thanks in advance for any feedback.
--
kmx
I have tried to create a PAR archive from a perl script using a module with so called share dir (see http://search.cpan.org/dist/Module-Install/lib/Module/Install/Share.pm or http://search.cpan.org/dist/File-ShareDir/lib/File/ShareDir.pm).
What I have expected is that in my_perl_script.pl does "use MyModule::WithShare;" that PAR packer will also include the content of distribution share dir of the distribution containing MyModule::WithShare. However the resulting PAR file does not seem to contain files installed into dist share dir.
I am not saying this is a bug; maybe I have not specified some necessary parameter when running pp command (I simply run: pp -o test.par my_perl_script.pl) or perhaps this issue should be discussed somewhere else (Module::ScanDeps?).
Some details about my test environment:
- Win32 Strawberry Perl 5.10.1
- PAR::Packer 1.002
- Module::ScanDeps 0.96
Could you please give me some hint on how to get share dir content into a PAR archive? I gues that it should be possible as there exists File::ShareDir::PAR that solves a problem how to find share dir inside PAR (I am currently not even able to create such a PAR).
Thanks in advance for any feedback.
--
kmx