KW.pm Perl Style Guides #23

P5EE Blue Style Guide

  • Based on the Slash style-guide

  • Differences:

    • More business-oriented in tone

    • Slightly more generic in content

    • Style differences:

      • code does not contain tabs. blocks should be indented 4 spaces.

      • follows perlstyle regarding "uncuddled elses":

                # P5EE style
                if ($foo) {
                        print;
                }
                else {
                        die;
                }
                # Slash style
                if ($foo) {
                        print;
                } else {
                        die;
                }

<< Previous | Index | Next >> Copyright © 2002 Daniel Allen