You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The changes to use_ok() in the 0.98 alphas to allow lexical effect have unfortunately complicated a function that is generally considered of only narrow use. The functionality change to allow lexical effect has caused some test compatibility problems. It is not considered worth the trouble.
It was causing backwards compat problems, the implementation was complex and
use_ok() is generally considered useless if not actively harmful.
For #287
The changes to
use_ok()
in the 0.98 alphas to allow lexical effect have unfortunately complicated a function that is generally considered of only narrow use. The functionality change to allow lexical effect has caused some test compatibility problems. It is not considered worth the trouble.See http://www.nntp.perl.org/group/perl.qa/2012/04/msg13119.html for discussion.
use_ok()
back to its 0.98 functionality (no lexical effect should leak out)For bonus points, move the
use_ok
functionality, without the test code, into a library. It's good code and does a tricky thing.The text was updated successfully, but these errors were encountered: