Not crap, just unnecessary. If the loop should arrive at a value to be
returned, it should probably be enclosed in a function, which was designed for
returning values.
Everything is unnessessary because always code could be made with machine language or assember - latter of course is unnessessary in that case.
If loops returned values the point was they returned them like other commands or functions and it wouldn't ne necessary to enclose it in a function. Like this:
@a=while(...){...}
or even like this:
$answer=
while(
foreach(@a,while{...})
) + # loops return values have to be in scalar context when using +, -, * etc
while(
foreach(...),while(...)
)
These might need a programmers to change their programming habits a little bit, but i think it'd be worth of it. (Of course one can code in old way, too.)
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]