SmokeyB has asked for the wisdom of the Perl Monks concerning the following question:

Hey Monks,

Yesterday I was recommended to use PAR because I wanted to create a Perl installation using only the modules that my scripts use. After reading the PAR details, it seems like this is the best route for me to take, unfortunately, my lack of experience is hindering me on figuring out how to use PAR.

What I'm trying to accomplish is I wish to packup all the pre-installed Perl modules my scripts use into a PAR and reference them in that fashion. I wish to leave my own modules, and scripts that way they are. Since my scripts are a web application, I don't think packing them into one file would be the best route for me to take.

Is it possible to use PAR this way, and if so, can someone point me in the right direction on using PAR?

Cheers,
SmokeyB

Replies are listed 'Best First'.
Re: Help Getting Started with PAR
by tinita (Parson) on Jul 30, 2004 at 08:05 UTC
    well, have you read the documentation on PAR and on the pp script? it's not clear how familiar you are already with par. read the docs and play around with it a bit.
    i'd just package your needed modules into a .par-file and then in the script do a "use PAR 'file.par'".
    you have to test if your script is fast enough with that.
    if you have problems with pp then you're welcome to ask.
A reply falls below the community's threshold of quality. You may see it by logging in.