Re: multiples ifs
- From: Scott Bryce <sbryce@xxxxxxxxxxxxxx>
- Date: Fri, 29 Apr 2005 11:32:42 -0600
Nikos wrote:
Here is hwo i made it aget your suggestion:
<code snipped>
but still not good enouph.
Why not? Does it do what you want it to do? If not, what is it doing that is different than what you expect?
I really dont liek the use of $i.
I think your use if $i is fine. You need some way of knowing whether an error was encountered. $i serves that purpose. You may want to use a more descriptive name such as $error_found.
I think there must me a smarter way of writing this.
I think it is fine. I would probably do something very similar if I wrote it.
.
- Follow-Ups:
- Re: multiples ifs
- From: Brian McCauley
- Re: multiples ifs
- From: Nikos
- Re: multiples ifs
- References:
- multiples ifs
- From: Nikos
- Re: multiples ifs
- From: Henry Law
- Re: multiples ifs
- From: Nikos
- multiples ifs
- Prev by Date: Re: Can this be rewritten better?
- Next by Date: Re: Looking for Perl Grammar
- Previous by thread: Re: multiples ifs
- Next by thread: Re: multiples ifs
- Index(es):