Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Wisdom about "packaging" or transporting Perl apps

by mr_mischief (Monsignor)
on May 27, 2010 at 05:46 UTC ( #841875=note: print w/replies, xml ) Need Help??

in reply to Wisdom about "packaging" or transporting Perl apps

If you stay within the typically installed and maintained modules for sites that use CPanel and bundle everything else in the libraries directory of your project (with appropriate adjustments to your use paths, of course) you should be fine for most other servers your target audience will use. Either they'll be on a CPanel or Plesk managed server or they'll have arrangements to do things themselves or to hire it done.

Typically, but not always, I distribute to my clients in two separate archive files. One is the project proper. The other is the dependencies, precompiled with a compatible perl, cc, processor, and OS if they are not pure-perl modules. I keep them separate from the system perl and usually separate from each other in case the projects depend on different interfaces in different versions of the same module. Deployment consists of uploading and extracting the project, and if that doesn't work, uploading and extracting the dependencies in the same folder. If I need anything outside the web root, I make sure the relative paths are saved in the archives.

If your customer are running something like perl 5.6.2 on Irix 6, then they'll know how to do all their own module installations. At least they should, or have access to someone who does.

  • Comment on Re: Wisdom about "packaging" or transporting Perl apps

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://841875]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2018-05-27 01:55 GMT
Find Nodes?
    Voting Booth?