Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Including modules in my application...

by mikerzz (Acolyte)
on Dec 05, 2008 at 20:00 UTC ( #728359=perlquestion: print w/replies, xml ) Need Help??
mikerzz has asked for the wisdom of the Perl Monks concerning the following question:

Perl Monks, Hello and thanks in advance for any answers to my question. I recently completed my first real perl application. Without getting into too much detail, the application is responsible for doing batch FTPs between my company and our clients. The idea behind this was to create a script/application using perl so we could just hand it off to the clients and have them either stick it in cron or run it manually whenever they need to. In order to do this, I needed some modules like Net::FTP and GnuPG::Interface (because the files need to be encrypted, which this app also does). So my question is, how do I go about including these modules in the perl app that I am going to send to the clients? I don't feel like instructing them on how to install these modules on their own. Is there any way I can package up the modules I need as well as the perl app and give it to them? Thanks again, Perl Monks. MikeR

Replies are listed 'Best First'.
Re: Including modules in my application...
by fmerges (Chaplain) on Dec 05, 2008 at 20:23 UTC


    Check out PAR


    fmerges at
Re: Including modules in my application...
by n3toy (Hermit) on Dec 05, 2008 at 22:05 UTC
Re: Including modules in my application...
by davidrw (Prior) on Dec 06, 2008 at 00:49 UTC
    Do the files themselves have to be encrypted, or just the transport? If the latter, if your company runs a sftp or scp server instead of just FTP, you can simplify things (less moving parts). Net::SCP, Net::SFTP for a perl solution, or might even (depending what else it needs to do) straight shell w/sftp.
Re: Including modules in my application...
by mikerzz (Acolyte) on Dec 09, 2008 at 14:12 UTC
    Thanks for the responses everyone. I have decided, for better or worse, to go with the Par Packer. Keep your fingers crossed for me. Mike R

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://728359]
Approved by ww
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2018-11-18 13:57 GMT
Find Nodes?
    Voting Booth?
    My code is most likely broken because:

    Results (205 votes). Check out past polls.