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

Andy Lester <[email protected]>
Newsgroups gmane.comp.lang.perl.quality-assurance
Message-ID <[email protected]>
On Apr 10, 2012, at 4:59 PM, Leon Timmermans wrote:

> 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.


It seems that use_ok() ought to die if it fails.  But then we might as well not wrap our use in use_ok().

Is there a case when we DO want to use use_ok()?

xoa

--
Andy Lester => [email protected] => www.petdance.com => AIM:petdance
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.