Matt Martin <
mrm...@gmail.com> writes:
> With your "secondary" scripts *(now executables..?)* where do your's
> get stored after you run the build?
I don't know -- and don't care, as long as GetScriptCommand returns the
actual path.
> I see in your example you just use the script name with no Path, does
> that mean you have them *built* into the same directory as your Main
> Executable *(*i.e. the "root" dir)*, which for example, calls
> *"
action1.pl"*..?
No the scripts are not built individually, but packaged together in a
single executable.
In the 'Scripts' section I have "
menu.pl", "
action1.pl" and so on. In
the 'Executables' section I have executables "menu", "action1" and so
on, corresponding to the scripts.
No, Cava Packager packages everything into one single executable that
has entry points "menu", "action1", and so on.
> I was wondering if you left them as Perl scripts or if you built them
> into exe's, because I was confused about needing to use either *
> ".pl"* or *".exe"* in MY code?
Major advantage is when the scripts are (more or less) related and share
libraries and modules. Instead of having multiple executables of 80MB,
each requiring significant startup overhead, you now have one single
81Mb executable, and a one-time startup overhead.
-- Johan