gepebril69 has asked for the wisdom of the Perl Monks concerning the following question:
Hi there,
I'm working with Perl a few years now and thanks to pp I manage to get executables instead of scripts. However I use 2 pl files to store defines and basic functions like this:
require File::HomeDir->my_home."\\software\\scripts\\basic_func.pl"; require File::HomeDir->my_home."\\software\\scripts\\defines.pl";
If I remove these files after I created executables I still need these files at runtime :S
call pp -o fill_usb_stick.exe -x -c -vvv <code>fill_usb_stick.plWhat am I doing wrong, or do I need to take a different approach?
Yours sincerely.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PP: Executables still need require files.....
by marto (Cardinal) on Jul 20, 2012 at 14:32 UTC | |
by gepebril69 (Scribe) on Jul 20, 2012 at 14:38 UTC | |
by gepebril69 (Scribe) on Jul 20, 2012 at 14:52 UTC | |
by marto (Cardinal) on Jul 20, 2012 at 14:56 UTC | |
|
Re: PP: Executables still need require files.....
by CountZero (Bishop) on Jul 20, 2012 at 14:51 UTC | |
|
Re: PP: Executables still need require files.....
by zentara (Cardinal) on Jul 20, 2012 at 13:37 UTC | |
|
Re: PP: Executables still need require files.....
by dasgar (Priest) on Jul 20, 2012 at 13:53 UTC |