I have a Perl application that consists of a Perl program (foo.pl) and a Perl module (bar.pm). There are some secrets in bar.pm that I don't want to share with the application's user. So, I'm planning to use Perl2Exe on bar.pm to create bar.exe. (I can't use Perl2Exe on foo.pl, because foo.pl uses IPC::Run, which Perl2Exe does not currently support)
I need to call the 12 functions in bar.exe from foo.pl. Currenly, in my foo.pl<>bar.pm world, foo.pl does a 'use bar', and executes the subroutines in bar.pm. The subroutine calls pass multiple parameters into bar.pm's subroutines, and receive multiple return values in return. This all works fine.
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)?
Thanks!
tl
In reply to Using Perl subroutines in a Perl2Exe exe file by tlemons
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |