Tony Esposito wrote:

> ..  It is a matter of style, of course, but I think it would be nice to
> have a 'continue' statement in Perl for readability.

Hi Tony,

I don't know that that would imply readability.  If I saw continue in a conditional, I 
would look at the surrounding loop for implications of that statement.  A continue 
statement is a statement--it is not really equivalent to the "no response needed" 
situation.  You may wish to re-analyse your specification, because it sounds like you 
do see a need for a default response.

The empty statement block is a highly communicative comment in the C/C++ argot.  It 
was used in K&R and has a time-honored meaning.  Works just as well in Perl, if you 
want an else block at all, but see no implications for program flow arising from the 
else case.

Joseph


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to