rootcho has asked for the wisdom of the Perl Monks concerning the following question:
Most of the checks are on $object->state(), but not nececerily.$o->check(...); unless ($o->state) { action.. } else { $o->check(...); unless ($o->state) { action.... $o->blah() if ($o->state) { actions..check.. unless($r->state) { and so on...deeper and deeper... } } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: deep usage of if-else!!
by GrandFather (Saint) on May 01, 2006 at 19:42 UTC | |
|
Re: deep usage of if-else!!
by davidrw (Prior) on May 01, 2006 at 18:06 UTC | |
by rootcho (Pilgrim) on May 01, 2006 at 18:27 UTC | |
by davidrw (Prior) on May 01, 2006 at 18:54 UTC | |
by Anonymous Monk on May 01, 2006 at 19:24 UTC | |
|
Re: deep usage of if-else!!
by Hue-Bond (Priest) on May 01, 2006 at 17:51 UTC |