On Wed, Sep 13, 2000 at 12:00:49PM +0100, raptor wrote:

> I was thinking will it be good if the braces are used but not required for

> while $i < 10 print $i;
> mean
> while ($i < 10) { print $i };


so,

   while $i < 10 print $i; print $j;

should become

   while ($i < 10) { print $i; print $j; }

or

   while ($i < 10) { print $i; } print $j;


???


How is perl to know?


> I know that some will tell that when the condition is more complicated this


more complicated than it is worth, it seems to me.


-- 
    Tad McClellan                          SGML consulting
    [EMAIL PROTECTED]                     Perl programming
    Fort Worth, Texas

Reply via email to