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

I've been writing a cgi program in perl. It's *almost* at the point where it doesn't suck anymore, so I'd like to create some kind of install script for it. I love the way MakeMaker works, so I've thought about using it. However, MakeMaker seems to be largely oriented toward installing modules.

My question is, would it be a big mistake to try to use MakeMaker for installing a program (as opposed to a module)? If it is, does anyone have any other recommendation. I'm sure it would be possible to just write an install routine from scratch, but I was of course looking for a shortcut.

  • Comment on Using MakeMaker to install perl programs (not modules)

Replies are listed 'Best First'.
Re: Using MakeMaker to install perl programs (not modules)
by VSarkiss (Monsignor) on Nov 15, 2001 at 05:59 UTC

    MakeMaker could probably do it. Take a look at this extensive article on IBM Developer Works. Maybe you can exploit some of the options.

    HTH

Re: Using MakeMaker to install perl programs (not modules)
by danger (Priest) on Nov 15, 2001 at 13:41 UTC

    In addition to the article VSarkiss points out, you might want to check out Randy Kobes' script, sdist, intended to provide the functionality that h2xs provides for building module distributions, for script distributions.