I posted this a few days ago and nobody responded..  does anyone know if there is a 
solution for this?


----------------
Hello..

I have 2 perl files.. one is loaded from the other with 'require'.

I would like to compile this into a single executable with PAR (pp).  Is this possible?

say the 2 files are: foo.pl and bar.pl 
inside foo.pl, there is the line: require('bar.pl')

the most success i have had so far is by using this to compile:
pp -o foobar.exe foo.pl bar.pl

the problem I am having when using that, is that I need the actual 'bar.pl' to exist 
in the directory for foobar.exe to run.  If not it just dies.  I want to be able to 
have a single executable that does not need to have the .pl available for it to run.

any ideas?  any help is greatly appreciated

-Corey Goldberg



-----------------------------------
 Corey Goldberg
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
-----------------------------------

Reply via email to