I then commented out the unnecessary statement. Oops.if (something) unnecessary_statement(); if (other_thing) important_statement();
Update: I realize Perl is one of many languages that uses this construct. It just happened to seem especially relevant here.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Hidden Benefit of Perl Syntax
by TimToady (Parson) on Jan 08, 2008 at 00:06 UTC | |
|
Re: Hidden Benefit of Perl Syntax
by FunkyMonk (Bishop) on Jan 07, 2008 at 23:50 UTC | |
|
Re: Hidden Benefit of Perl Syntax
by Nkuvu (Priest) on Jan 08, 2008 at 00:26 UTC | |
by Tux (Canon) on Jan 08, 2008 at 07:33 UTC | |
by tye (Sage) on Jan 08, 2008 at 00:30 UTC | |
by explorer (Chaplain) on Jan 08, 2008 at 11:12 UTC | |
|
Re: Hidden Benefit of Perl Syntax
by locked_user sundialsvc4 (Abbot) on Jan 08, 2008 at 17:56 UTC |