http://qs1969.pair.com?node_id=98627

chinman has asked for the wisdom of the Perl Monks concerning the following question:

Now, here's the deal:

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?

Here's some output from the compile process:

PerlApp -s=xznova.pl -e=xznova.exe -a=znova.pl;graphspec.pl -f -v -r

Input script name: xznova.pl
Output exe name: xznova.exe
Exe Mode: Freestanding
Building Console mode exe
Temp files will be kept on exit
Failed 'use's will be reported
Additional module: znova.pl ----------------------these are the 2 that it says it's going to add, yeah right!
Additional module: graphspec.pl ------------------ba da bing
Adding Module: C:/Perl561/lib/Carp.pm
Adding Module: C:/Perl561/lib/Exporter.pm
foo
bar
baz
blah
yada
Adding Module: C:/Perl561/lib/File/Basename.pm
Adding Module: ./graphspec.pl ------------------ba da boom, but I only got one of the two, dang!
Adding Module: C:/Perl561/site/lib/GD/Graph.pm
Adding Module: ./znova.params
Adding Module: C:/Perl561/lib/Fcntl.pm
Adding Module: C:/Perl561/lib/Cwd.pm
Adding Module: C:/Perl561/lib/AutoLoader.pm
Adding Module: C:/Perl561/lib/IO/Seekable.pm
Adding Binary: C:/Perl561/lib/auto/IO/IO.dll
Adding Binary: C:/Perl561/site/lib/auto/GD/GD.dll
Adding Binary: C:/Perl561/lib/auto/Fcntl/Fcntl.dll
Adding Binary: C:/Perl561/lib/auto/POSIX/POSIX.dll
Adding Binary: C:/Perl561/site/lib/auto/Win32/Clipboard/Clipboard.dll

#!/usr/bin/perl -w $camel = $hump do { theHumpty($camel); }