NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
I didn't find it but emacs and perltidy finds it (Score:1)
I admit I didn't see it at first. So I copied the code into emacs. I have a habit of using perltidy in emacs to clean up my code, So I did that first. The problem jumped right out at me because of the indentation.
Then I tried just using cperl-mode indenting and it pointed the problem out to me also.
So does it really need to be a error/warning? or should we rely on our editor to find it.
Reply to This
Re: (Score:2)
I argue in my roles talk (well, the one I'm giving in Lisbon) that complexity management tools should be pushed into the langauge (when possible), rather than relying on external tools. While I don't think this falls in the category of complexity management, I think that the principle of "language support, when possible" applies here. If someone doesn't have your editor setup, they could easily miss this. Personally, I think this problem is common enough that a warning is quite appropriate.
I still rememb