Although I am not (by own evaluation) and advanced Perl programmer, I am posting my question in this section because my post in the "Intermediate" section has yet to receive an answer.

The quick version of the story: My dist contains a module and a script. When I install it, the module goes into a known place; the scripts seems to have been ignored.

Now the fuller story:

I have a Perl module for which I'd like to build a CPAN-worthy distribution. I also want to include a runnable script that uses the module, serving as both an example and a useful application. I started with h2xs to build the skeleton distribution and copied/edited my .pm file in there. What about the script that uses it? Taking what appears to be a cue in ExtUtils-ModuleMaker-0.51, I manually added a scripts directory parallel to the lib directory.

Now, I built this all under Cygwin (Windows-7). I then booted Ubuntu, copied the gz to /Var/Downloads (my way of setting a private standard) and unpacked, untar'ed, ran the appropriate stuff through make install.

So where did my stuff end up? Well, the module ended up as:

Code

/usr/local/share/perl/5.10.1/UNLreport.pm

All fine and well for a simple module. Now what about the script I stuck into the scripts directory? Looks like my emulation of ExtUtils was misdirected.

Come to think of it, I'm not sure of where I did want the script to get installed. I think something like in /usr/local/share/scripts (which would have to create) but I was hoping there would be an attempt by the "make install" to put it someplace, get an error, and I would create the necessary directory.

BTW, here's the install session, as best as I could edit it from the messed up "scripts" output

I will start another thread on controlling where to install the script. But right now I just want to celebrate! -------------------- -- Rasputin Paskudniak (In perpetual pursuit of undomesticated, semi-aquatic avians)