Need example of module+cgi+data distribution

I

Irving Kimura

I'm trying to create a distribution featuring

1. a CGI script (Perl)
2. a collection of Perl modules used by the CGI script
3. data files used by the CGI script

I'm having a hard time coaxing MakeMaker to write a reasonable
Makefile for the above distribution. (Specifically, MakeMaker
doesn't seem to be design to install items such as (1) and (3)
above.)

By any chance, does anyone know of a CPAN module that has something
like 1 and 2 above, or 2 and 3? (I don't expect to be so lucky as
to find a CPAN module that has 1, 2, and 3.) It would help to see
how MakeMaker is used for such modules.

Thanks!

Irv
 
I

Irving Kimura

I've had a similar experience trying to create a MakeMaker script that
installs an utility along with a few data files. After some struggle,
I've come up with a (kind of) satisfactory result.
The code is available at
http://odyniec.net/projects/cdlist/cdlist-0.1.tar.gz. Makefile.PL is
rather simple and you should have no problem understanding what it
does.
Hope that helps (at least a little bit),

Hey, that's pretty nice. I'll adapt it to my task for the time
being (but I've decided that I really have to find something better
than MakeMaker, something more flexible that doesn't require these
workarounds just to get simple things done...)

Thanks,

Irv
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top