Thank you Chas! I checked that out and found their tutorial which
contained a variation on scandeps which can output files as well as
modules:

scandeps.pl -V -e "use DJabberd.pm"

The PAR functionality looks like it will be helpful to for keeping the
filesystem tight as well.

On 8/22/07, Chas Owens <[EMAIL PROTECTED]> wrote:
> On 8/22/07, infobank <[EMAIL PROTECTED]> wrote:
> >
> > > > I'm trying to embed djabberd (perl5 net-im) onto a m0n0wall base
> > > > (FreeBSD). I found scandeps, and ran it on DJAbberd and found some
> > > > useful information about the modules it relies upon.
> > >
> > > > Is there any way to find out which files it relies upon?
> > >
> > > You mean the files corresponding to those modules? If yes, why you
> > > need them?
> >
> > Yes - so I can copy them to a system tree for packaging into a
> > portable image.
>
> If you are trying to make a portable Perl script that satisfies all of
> its own dependencies, then use PAR* and PAR::Packer**.  PAR is similar
> in function to Java's JAR files.  All of the modules you need are
> packaged up in one zip file.  It walks the dependency tree for you.
> You can even make a cross-platform PAR file***.
>
> * http://search.cpan.org/~smueller/PAR-0.976/
> ** http://search.cpan.org/~smueller/PAR-Packer-0.976/lib/PAR/Packer.pm
> *** 
> http://search.cpan.org/~smueller/PAR-0.976/lib/PAR/Tutorial.pod#Cross-platform_Packages
>


-- 
My Blogs:
http://www.docunext.com/
http://www.albertlash.com/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to