DevGuide Comments

David Miller justdave at bugzilla.org
Fri Dec 19 17:51:47 UTC 2003


On 12/19/2003 2:27 PM +0000, Colin S. Ogilvie wrote:

> Maxwell Kanat-Alexander wrote:
>
> | if ($var) {
>     print "The variable is true";
> }
> else {
>     print "Try again";
> } |
>
> instead of this:
>
> | if ($var) {
>     print "The variable is true";
> } else {
>     print "Try again";
> }"
>
> Unless I am missing something really obvious, the Example and the
> Instead of are the same in this section?

You're missing something obvious. :)  Notice how the braces are wrapped
around the "else".  One of them has the braces on the same line, one has it
linewrapped between them.
-- 
Dave Miller      Project Leader, Bugzilla Bug Tracking System
http://www.justdave.net/             http://www.bugzilla.org/



More information about the developers mailing list