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);
}
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|