On Fri, Jul 29, 2005 at 02:56:53PM +0100, Adrian Howard wrote:
> >Calling builder() is safer than Test::Builder->new as it is forward  
> >compatible for a day when each module will be able to have its own  
> >Test::Builder object rather than the strict singleton it is now.
> [snip]
> 
> In that case should we be encouraging people to write
> 
>     sub ok ($;$) {
>         Test::Simple->builder->ok(@_);
>     }
> 
> instead of using a package lexical, in case people want to swap  
> modules at runtime?

Yep, I was thinking about just that this morning... err, afternoon.


-- 
Michael G Schwern     [EMAIL PROTECTED]     http://www.pobox.com/~schwern
Don't try the paranormal until you know what's normal.
        -- "Lords and Ladies" by Terry Prachett

Reply via email to