in reply to Control Flow Puzzle

www.perl.com now has some notes about this and other related matters in case anyone is still interested.

Replies are listed 'Best First'.
Re (tilly) 2: Control Flow Puzzle
by tilly (Archbishop) on Nov 30, 2000 at 07:15 UTC
    For a source of appropriate code, I suggest wandering through Snippets, Code, and Craft then asking the appropriate monk.

    Also I noticed that you haven't been using strict in the series yet. Tsk, tsk. :-)

      'strict' is overrated.
        Overrated?

        Here is my rating of strict. It catches about 90% of my typos. As you say, plan for failure, not for success. I hope to catch all of my typos. I work at it. But I am not going to plan on success, and I am not going to throw away any tool that helps me achieve this success.

        For this reason and this reason alone, strict is utterly invaluable to me. I don't know about others but I don't expect it to catch syntax errors. Logic errors are out of its purview. I wasn't planning on using symbolic references anyways, it is kind of nice to have it catch accidents where I pass the wrong thing to a function that expects to get a reference though. In short, it doesn't solve any deep problems.

        But it still catches a lot of typos for me...

        And under-used.
        --

        Zigster
        Dominus would you care to explain why?