Guy Hulbert wrote:
On Mon, 2009-05-01 at 08:29 -0500, Adam Prime wrote:
AFAIK, Makefile.PL (ExtUtils::MakeMaker) is not designed to do this
although it is probably possible.
It should be easy/ier with Build.PL (Module::Build, iirc) but I don't
think there is a standard method.
You can do anything with Module::Install ... but it does not appear to
be as popular as Build.PL.
It seems to be common practice to provide both Build.PL and Makefile.PL.
There isn't a standard app deployment kind of thing, but it's something
that i'm sure a lot of projects could benefit from. A talk was given at
PPW in 2007 about a project called App::Deploy, but when I talked to the
guy that gave it about 6 months ago it didn't sound like he'd gotten too
far into it. At any rate, application and module deployment are
obviously related, but different tasks.
That said, if the application will run fine from it's install directory,
maybe you don't need/want to use any of the standard perl module
installers. There are lots of options, depending on what you actually
want to achieve.
Adam