in reply to Re: Re: No braces
in thread No braces
Which part is more important? The conditional or the statement? In some cases its one, some cases the other. And if you really want the conditional in front then just write:
($CONDITION) && do_something();
But usually you are more interested in what might happen than exactly why so that becomes
do_something() unless $exception;
But sometime the conditional part really aught to go first:
open ... or die ....
First they ignore you, then they laugh at you, then they fight you, then you win.
-- Gandhi
|
|---|