Hi, On Wed, May 25, 2011 at 9:17 PM, David Precious <davidp@preshweb.co.uk> wrote:
On Wednesday 25 May 2011 18:02:41 Pedro Melo wrote:
I need to repack a Dancer-based site as a CPAN module. I remember seeing a bit of documentation about this somewhere but I can't find it at the moment.
Any pointers to documentation or an example on how to do this?
At the most basic, change into the app dir, and:
perl Makefile.PL make dist
... you should end up with a usable tarball. Simples :)
As with all modules, check your MANIFEST file is up to date (listing all the files that need to be shipped).
Tried this. It solves the packaging problem but not the installation problem. When cpan installs your module, all the statis files and views aren't installed. Bye, -- Pedro Melo http://www.simplicidade.org/ xmpp:melo@simplicidade.org mailto:melo@simplicidade.org