Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 pondering the Monastery: (3)
As of 2016-06-28 02:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (348 votes). Check out past polls.