http://www.perlmonks.org?node_id=1006932


in reply to Re^2: change perl function in runtime
in thread change perl function in runtime

Thanks for the reasons. I normally suppress things I don't want to do during a test run, but I can see your points :-)
A Monk aims to give answers to those who have none, and to learn from those who know more.

Replies are listed 'Best First'.
Re^4: change perl function in runtime
by ColonelPanic (Friar) on Dec 04, 2012 at 08:43 UTC

    Obviously, changing function calls at run time is not the only way to overcome the above problems. The important thing is using good testing principles, rather than a particular implementation.

    I think it is a useful and powerful tool for certain kinds of testing.



    When's the last time you used duct tape on a duct? --Larry Wall