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.
git-svn-id: svn://10.0.0.236/trunk@105422 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -296,7 +296,8 @@ to reformat the entire file :).
|
||||
|
||||
if ($var) {
|
||||
print "The variable is true";
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
print "Try again";
|
||||
}
|
||||
|
||||
|
||||
@@ -296,7 +296,8 @@ to reformat the entire file :).
|
||||
|
||||
if ($var) {
|
||||
print "The variable is true";
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
print "Try again";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user