I started a wiki page to describe how all backend Perl code should be styled:
https://cwiki.apache.org/confluence/display/VCL/Perl+Code+Style+Guidelines

It mostly describes how the vast majority of the existing code is
styled and formatted, though there are several places where things
need to be cleaned up.  If you're working on any Perl code, please
look over this document and feel free to add to it or reply with
anything you don't agree with.

Inconsistent indentation drives me nuts and was the main reason I felt
the urge to write this up.  I use a GUI editor which is configured to
autoindent with tabs but occasionally I'll edit some lines using vi on
a server and know it's easy to munge existing tabs with spaces.  If
there are any vi/vim experts out there, please share your
autoindent/tabstop settings.

Thanks,
Andy

Reply via email to