in reply to Re^37: Why is the execution order of subexpressions undefined? (magic ruts)
in thread Why is the execution order of subexpressions undefined?

What are you talking about? Are you being deliberately obtuse? The other AM already gave you examples of lazy operators which exist (Right Now! Today!) in Perl5. They're called || and &&.

Replies are listed 'Best First'.
Re^39: Why is the execution order of subexpressions undefined? (magic ruts)
by BrowserUk (Patriarch) on Apr 19, 2005 at 16:03 UTC

    Yes. They are defined as being lazy. I know they are lazy. I like that they are lazy. But now you want to make math operators lazy too?


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco.
    Rule 1 has a caveat! -- Who broke the cabal?
      Well, I'm not saying I'm on a crusade to make them lazy. But if they were to made lazy, I'd welcome it. It would speed up some code, and I'm pretty sure I don't have much code that will break.