My personal opinion is that the validity (grammar/content) checking and processing should be kept separate, in two different loops.
Doing it this way means that you can be 100% certain once the first loop has completed that you have clean, valid data, and you're safe to begin processing.
From a testing perspective, it then becomes very straightforward to check the data for validity by sight at the end of the first loop if necessary.
Just my two cents .. ignore me if you like :)
--Foxcub
In reply to Re: Request opinions and ideas
by Tanalis
in thread Request opinions and ideas
by gnu@perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |