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

2012-04-12 Thread Michael G Schwern
On 2012.4.11 1:01 PM, Aristotle Pagaltzis wrote: >> Unless I'm mistaken, Test::AutoBailOut is doing to need a global >> $SIG{__DIE__} handler or override CORE::require or add something to >> @INC or try to parse exception messages or something like that. Any >> of those have global side effects whi

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

2012-04-12 Thread Michael G Schwern
On 2012.4.11 1:45 PM, Andy Lester wrote: > test_requires is Module::Build only, right? I don't use Module::Build. It was just added to ExtUtils::MakeMaker but I don't know when a stable will be released. -- There will be snacks.

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

2012-04-12 Thread Eirik Berg Hanssen
On Wed, Apr 11, 2012 at 6:32 PM, Michael G Schwern wrote: > On 2012.4.10 6:21 PM, The Sidhekin wrote: > > * How would you rewrite a test script such as my own > > http://cpansearch.perl.org/src/EBHANSSEN/Test-Trap-v0.2.2/t/00-load.t so > > that it does not use use_ok()? > > use Test::More tests