Thu Mar 25 10:31:29 2010: Request 55923 was acted upon.
Transaction: Correspondence added by [email protected]
       Queue: PAR-Packer
     Subject: Re: [rt.cpan.org #55923] pp not packing distribution share dir 
contents
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: [email protected]
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=55923 >


Dne 25.3.2010 14:52, Steffen Mueller via RT napsal(a):
> ...
>
> Essentially, you'll have to use the -a (or -A) option of pp to manually 
> add files to the .par file. Module::ScanDeps has no way to determine 
> that/whether a given module has "share"-like data attached. Or maybe it 
> could find out, but I don't think it does. (Patches welcome!)
>   

Well, let us say at some point we know that we need to bundle
Some::Module IMHO it is quite straightforward to determine where is the
sharedir corresponding to Some::Module - something like this: $dir =
module_dir('File::ShareDir'); - via Find::ShareDir. Then we have just to
decide where in PAR structure should the content of sharedir has to be
copied (perhaps somewhere under lib/auto/share/...).

Do I understand that it is more a question on Module::ScanDeps than
PAR::Packer?

--
kmx


Reply via email to