From: jake%acutex.net <> Date: Tue, 16 Oct 2001 02:12:46 +0000 (+0000) Subject: The recommended style for perl (which is the styleguide Bugzilla will use) specifies... X-Git-Tag: bugzilla-2.14.1~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02fc8c76dca81000971f91d442cfabb3dea7fda6;p=thirdparty%2Fbugzilla.git The recommended style for perl (which is the styleguide Bugzilla will use) specifies that else should not be cuddled. This guide, while not specifically saying it, elluded to cuddling else. Fixing that problem. --- diff --git a/docs/sgml/patches.sgml b/docs/sgml/patches.sgml index 3f49255f27..f5a9ebdfae 100644 --- a/docs/sgml/patches.sgml +++ b/docs/sgml/patches.sgml @@ -296,7 +296,8 @@ to reformat the entire file :). if ($var) { print "The variable is true"; - } else { + } + else { print "Try again"; } diff --git a/docs/xml/patches.xml b/docs/xml/patches.xml index 3f49255f27..f5a9ebdfae 100644 --- a/docs/xml/patches.xml +++ b/docs/xml/patches.xml @@ -296,7 +296,8 @@ to reformat the entire file :). if ($var) { print "The variable is true"; - } else { + } + else { print "Try again"; }