Re: Test::More and WWW::Chat fighting over fail()

2001-10-17 Thread Simon Wistow

On Sun, Oct 07, 2001 at 07:06:45PM -0400, Michael G Schwern said:
> > Both Test::More and WWW::Chat export a routine called fail().  This
> > makes it rather hard to write tests for web stuff using both these
> > modules.
> 
> I can solve this from my end by providing control over Test::More's
> imported functions, something I've been neglecting to do.

Ok, sorry it's taken me so long but a new version of WWW::Chat has been
uploaded fixing the namespace problem.

Been a bit of a funny week ...


-- 
: off the wagon and hitching a ride



Re: Test::More and WWW::Chat fighting over fail()

2001-10-08 Thread Simon Wistow

On Sun, Oct 07, 2001 at 07:06:45PM -0400, Michael G Schwern said:
> On Sun, Oct 07, 2001 at 03:57:48PM -0400, Kirrily 'Skud' Robert wrote:
> > Both Test::More and WWW::Chat export a routine called fail().  This
> > makes it rather hard to write tests for web stuff using both these
> > modules.
> 
> I can solve this from my end by providing control over Test::More's
> imported functions, something I've been neglecting to do.

WWW::Chat has a fair number of namespacing problems ... just to get it to work
with Inline I had to do some fairly crufty hacks on Gisle's original code. 

I'll dig throught the code today if I get time and try and get it to work.

I try and look at the eval { } stuff as well.

Simon


-- 
: nature notes for the apocalypse