in reply to Using Test::More to make sense of documentation
IMO, that's a hard way of learning things. I rather want to see what is calculated, not just whether what was calculated actually matches what I think it might calculate (specially when you are learning-by-trying, by the time you can a reasonable prediction of what the output will be, you're almost done learning).
For regexes for instance, inspecting $& is far more informative than guessing what $1 will be. And, for failures, I can learn far more from the output of use re "debug"; that I can from Test::More saying not ok.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using Test::More to make sense of documentation
by ELISHEVA (Prior) on May 01, 2009 at 13:54 UTC | |
by gwadej (Chaplain) on May 01, 2009 at 17:10 UTC |