There's more than one way to do things | |
PerlMonks |
PAR::pp with self created modulesby State_Space (Novice) |
on Oct 31, 2015 at 01:39 UTC ( [id://1146547]=perlquestion: print w/replies, xml ) | Need Help?? |
State_Space has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks, I'm using PAR::pp. I've read though the documentation. PAR Tutorials PAR FAQ Honestly I don't understand a lot of it. I had a .pl that was 500 lines long and split it into 1 .pl and 3 .pms. The .pm's are in the local .pl folder .\lib. I use pp -gui -o name.exe name.pl in perl console, it packs but it doesn't add the 3 .pms in the local \lib. I know the libraries don't get added because I unzip the packed package and they're not contained within. From reading this Perlmonks post I solved the problem by moving the 3 .pm's to perl\site\lib. However the modules are very specialized and I want them close to the .pl for future editing. How can I add them to the package without moving them to perl\site\lib? Below is the top of my .pl where I change @INC path for the local modules
Back to
Seekers of Perl Wisdom
|
|