perlquestion
chinman
Now, here's the deal:
<p>I'm trying to compile a fairly complex set of scripts. A couple of the scripts are called via require. Even when I specify adding both explicitly with the -a switch, one gets successfully packaged and the other does not. I have checked all of the "require"d scripts to make sure there is a 1; at the end. The scripts are also required explicitly (i.e., no variable names). Oddly, I can get the packaging to work if I use the -b option on the one that does not get added. Anybody have a clue what up with this?
<p>Here's some output from the compile process:
<p>PerlApp -s=xznova.pl -e=xznova.exe -a=znova.pl;graphspec.pl -f -v -r
<p>Input script name: xznova.pl<br>
Output exe name: xznova.exe<br>
Exe Mode: Freestanding<br>
Building Console mode exe<br>
Temp files will be kept on exit<br>
Failed 'use's will be reported<br>
Additional module: znova.pl <font color="blue">----------------------these are the 2 that it says it's going to add, yeah right!</font><br>
Additional module: graphspec.pl <font color="blue">------------------ba da bing</font><br>
Adding Module: C:/Perl561/lib/Carp.pm<br>
Adding Module: C:/Perl561/lib/Exporter.pm<br>
foo<br>
bar<br>
baz<br>
blah<br>
yada<br>
Adding Module: C:/Perl561/lib/File/Basename.pm<br>
Adding Module: ./graphspec.pl <font color="blue">------------------ba da boom, but I only got one of the two, dang!</font><br>
Adding Module: C:/Perl561/site/lib/GD/Graph.pm<br>
Adding Module: ./znova.params<br>
Adding Module: C:/Perl561/lib/Fcntl.pm<br>
Adding Module: C:/Perl561/lib/Cwd.pm<br>
Adding Module: C:/Perl561/lib/AutoLoader.pm<br>
Adding Module: C:/Perl561/lib/IO/Seekable.pm<br>
Adding Binary: C:/Perl561/lib/auto/IO/IO.dll<br>
Adding Binary: C:/Perl561/site/lib/auto/GD/GD.dll<br>
Adding Binary: C:/Perl561/lib/auto/Fcntl/Fcntl.dll<br>
Adding Binary: C:/Perl561/lib/auto/POSIX/POSIX.dll<br>
Adding Binary: C:/Perl561/site/lib/auto/Win32/Clipboard/Clipboard.dll<br>
<CODE>
#!/usr/bin/perl -w
$camel = $hump
do {
theHumpty($camel);
}
</CODE>