I work on a small open-source Perl project with Catalyst, Open Street Map and dozens of modules. I try to use as many modules found on the CPAN as I can because my aim is not to reinvent the wheel.
All this stuff has been installed through cpanm and local::lib. Each time I need something new I install a couple of modules and dependencies (it's so simple with cpanm). Now, I'm asking myself how people who will clone my project could install the dozens of module without an horrible headache-of-death?
What are the best practices for this? I am supposed to list all required modules into Makefile.pl? I feel now anxious about this because I worked hard on this project, try to follow a lot of good practices, but feel I commit a mistake on this particular point (for not think about this).
I need some advice about this problem because everything seems so magic that I don't believe that it's enough to list the modules names in the Makefile with the 'require' keyword. I hope too it's not necessary to include all dependencies in the project and commit all this huge package for later uses.
The Comprehensive Perl Archive Network (CPAN) is a repository of over 250,000 software modules and accompanying documentation for 39,000 distributions, written in the Perl programming language by over 12,000 contributors.
If you use Catalyst, you can add the modules you need as dependencies in the Makefile.PL created for your Catalyst application.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With