Do you develop your Perl applications as CPAN modules?

前端 未结 3 1534
后悔当初
后悔当初 2020-12-30 03:34

Recently I read a blog post saying that it is a good practice to develop Perl applications just as you would develop a CPAN module. (Here it is – thanks David!) One of the r

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-30 04:22

    Generally, yes, I'd say it's a good idea. Catalyst makes this easy, as the catalyst.pl helper script will set up a basic framework for your web app, completed with a Makefile.PL etc.

    This means that packaging your application and deploying it to a server is trivially easy.

    Edit: I think the original blog post you were thinking of was Write your code like it's going on CPAN from Perlbuzz.

    "By treating code we were never going to release to CPAN as if we were, we win the support of all of the CPAN toolchain. A toolchain that is getting better every day."

提交回复
热议问题