Re: Revert use_ok() change to allow lexical effects?

Leon Timmermans <[email protected]>
Newsgroups gmane.comp.lang.perl.quality-assurance
Message-ID <CAHhgV8g6mqfq9cJMq1m+hBKwJVBaisPaErm__y1U7TMNgOHiHw@mail.gmail.com>
On Tue, Apr 10, 2012 at 11:52 PM, Mike Doherty <[email protected]> wrote:
> I don't see any discouragement in the documentation... and what's wrong
> with use_ok to begin with?

If it fails, the module may not be loaded, or partially loaded. In
such circumstances, testing the rest of the code can give very
confusing results. It doesn't make sense to continue testing usually.

Leon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.