On Fri, Oct 11, 2002 at 02:57:21PM -0400, Larry Coffin wrote:

> >print FILEHANDLE (list, of, stuff), next if (condition);
> 
>       Why are you using a comma operator here and not just a semi-colon
> to terminate the print statement? I.e. why not:
> 
> print FILEHANDLE (list, of, stuff);
> next if (condition);
> 
>       In both cases, the return value of print() is getting tossed and
> the 'next if (...)' is not dependent on the print statement.

Because print is generally called for its side effects rather than for
its return value.

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

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

Reply via email to