Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need real quick perl code conventions

Status
Not open for further replies.

be12dune09a

Programmer
Nov 17, 2005
24
RO
please give me a link for perl code convention specification
 
I like to follow most of the perlstyle guidelines except that I use Whitesmith (2 space indented variation) instead of K&R or Allman/BSD indenting.

Here is a site that defines those styles:
Many pages I found denigrate Whitesmith formatting, but it works better for me, I've found. It's all a matter of personal preference and how you achieve consistent proper syntax. If your programming department recommends one style over another, it may cut down time for other programmers if you follow the recommended style. Nothing worse than trying to maintain code that has 3+ styles evident in just a few pages of the source that you're digging through.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top