|No such thing as a small change|
Re: Neat Debugger tricksby salva (Abbot)
|on Nov 17, 2005 at 10:17 UTC||Need Help??|
the new assertion subs, available on blead perl and on 5.10 in the future, act as conditional breakpoints under the debugger.
For example, this script uses an assertion to test that the argument passed to my_sqrt is a positive number:
then running it under the debugger: