Question

I need to package a Perl Dancer application for installation using RPM. Pretty much all of the Perl module/distribution tools deal with installing files into Perl specific locations, such as /usr/lib/perl. I need to be able to create an installation in a self contained location, such as /opt/foo.

I know about App::Build, which looks like it might be useful, and provides facilities missing from Module::Build. I expect there might be a Dist::Zilla plugin to do this sort of thing but I've been unable to locate one.

What tools would you suggest using for building, testing and packaging a Perl 'application'?

The layout of the application would follow normal Dancer style, with /public, /views, /lib, etc

Was it helpful?

Solution

You are mistaken in saying that Module::Build is missing the functionality to install additional (non-lib) directories. See the Cookbook.

OTHER TIPS

I don't know if this helps at all. It describes what we do at work:

http://www.slideshare.net/p3castro/packaging-perl

Caveat: we use a common Perl install across all applications.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top