What are the best-practices for implementing a CLI tool in Perl?

后端 未结 7 574
刺人心
刺人心 2021-01-30 00:30

I am implementing a CLI tool using Perl. What are the best-practices we can follow here?

7条回答
  •  礼貌的吻别
    2021-01-30 00:51

    There are a couple of modules on CPAN that will make writing CLI programs a lot easier:

    • App::CLI
    • App::Cmd


    If you app is Moose based also have a look at MooseX::Getopt and MooseX::Runnable

提交回复
热议问题