in reply to Using Perl subroutines in a Perl2Exe exe file
Still, it's one problem potentially solved.
Later...
But, when I turn bar.pm into bar.exe, how then can I call bar's subroutines (passing multiple input values and receiving multiple return values)?
Using PAR will let you build the exe off of foo.pl. PAR will recursively scan your script and all of the dependent modules, including your bar.pm file, and bundle them up.
Unless I'm completely missing something funky that you are trying to do, if it works when run from the script, ie "perl ./foo.pl" it will work in PAR with a simple "pp -o foo.exe foo.pl"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using Perl subroutines in a Perl2Exe exe file
by hydo (Monk) on Jun 30, 2005 at 05:49 UTC | |
|
Re^2: Using Perl subroutines in a Perl2Exe exe file
by Anonymous Monk on Jun 30, 2005 at 19:21 UTC | |
by hydo (Monk) on Jul 02, 2005 at 07:26 UTC |