by _xo_ · 12y ago · 0 comments
* centrally hosted
* mirrored all over the world
* packages are automatically checksummed & the checksum is compared on install
* is is quite easy to publish packages
and very important in my opinion
* it encourages you to write tests. Unit tests included in packages are automatically executed when it is installed. Many systems (semi)-automatically report back when the installation of a package fails. Hence you get tests on tons of platforms for your package
* pod documentation is automatically available on cpan.
Not only will you get comprehensive tests and reports of all the packages with different OS/language versions, it is a great test of the language implementation with different C compilers etc.
dzil new My::Module
<build library>
dzil test #Make sure the build and tests go okay
<set version and add changes to changefile>
dzil publish