Skip to content

Latest commit

 

History

History
23 lines (11 loc) · 840 Bytes

Styleguide.pod

File metadata and controls

23 lines (11 loc) · 840 Bytes

Posemo Developer Manual: Coding Styleguide

You should format your code according to the PerlTidy config in t/perltidyrc. The coding style differs from the Perl Style Guide (if someone has good arguments, I may change the rules to the PBP defaults)

Checking for tidy code is part of the test suite; so, the tests fail if the code is not tidy!

In Eclipse with the EPIC Perl plugin, you can easyly format the code with Cmd-Shift-F (or Ctrl-Shift-F). When using Atom you can use the Perltidy plugin. When using vim, the Perl-Support utility or the simple PerlTidy Plgin should work (both not tested).

TODO: More description.