Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Packaging dependent modules with Perl script(s) for shared hosting environments

by sgifford (Prior)
on Apr 27, 2006 at 15:26 UTC ( #546038=note: print w/ replies, xml ) Need Help??


in reply to Packaging dependent modules with Perl script(s) for shared hosting environments

par can do what you want; just follow the documentation to get one big executable containing your script and all of the modules it uses. Keep in mind that if any of the modules aren't pure-perl, you'll have to build them on a platform identical to the one at your hosting environment.

I usually deal with modules in hosting environments by creating a ~/cgi-lib/perl5 directory to upload my modules into, then putting use lib '/path/to/home/cgi-lib/perl5' near the top of my script. I'm not sure what problems you keep running into with building them; see Re: Re: Alternatives to User::Agent? for a useful technique.


Comment on Re: Packaging dependent modules with Perl script(s) for shared hosting environments
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://546038]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2014-07-28 09:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (195 votes), past polls