Slash Boxes
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

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • If you lead off with those fragements, I suspect you'd lose a lot of folks who you could otherwise help. I had a hard time answering the "how, exactlyl, does this help me?" question.
  • The code is definitely too strange.

    Once you've read the perlmonks post it makes sense, but overall I think that the __ANON__ trick will obscure your main point. It might be better to keep the tutorial focused on showing how you write just enough code to pass the tests (which you are not quite doing when you use tricks like this BTW).

  • I'd just use the normal _leading_underscore convention that more people will be familiar with for a tutorial on TDD. You'll just have to spend time explaining the method, which will distract from your main point.

    (we must be on the same ley-line since I'm writing a little tutorial myself on TDD - not aimed at perlmonks tho :-)