Are there any good automated frameworks for applying coding standards in Perl?

后端 未结 7 1673
Happy的楠姐
Happy的楠姐 2021-01-05 01:22

One I am aware of is Perl::Critic

And my googling has resulted in no results on multiple attempts so far. :-(

Does anyone have any recommendations here?

7条回答
  •  青春惊慌失措
    2021-01-05 02:00

    A nice combination is perlcritic with EPIC for Eclipse - hit CTRL-SHIFT-C (or your preferred configured shortcut) and your code is marked up with warning indicators wherever perlcritic has found something to complain about. Much nicer than remembering to run it before checkin. And as normal with perlcritic, it will pick up your .perlcriticrc so you can customise the rules. We keep our .perlcriticrc in version control so everyone gets the same standards.

提交回复
热议问题