logo       

Re: PAR/pp and missing modules: msg#00005

lang.perl.par

Subject: Re: PAR/pp and missing modules

On Sat, Sep 18, 2004 at 09:35:47PM -0700, Glenn Linderman wrote:
> I have a pp question. When I build a standalone .exe on a machine that
> has all the needed modules, they all get bundled correctly, and
> everything works. But if a needed module is not installed on the
> machine when pp is run to create the .exe, it seems that the module is
> silently omitted from the .exe. And then the .exe fails when executed,
> reporting the missing module at that point in time.
>
> Is there any way to convince pp to produce an error or warning
> diagnostic in such cases?

Yes: "pp -c" will report "use Module ()" errors, and "pp -x" will also
do that, as well as reporting "require Module" errors.

Thanks,
/Autrijus/

Attachment: pgpg3OsKFziXo.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise