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

2001-10-07 Thread Michael G Schwern
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

Re: Test::Harness in Test-SDK conflicts with Perl

2001-10-07 Thread Michael G Schwern
On Sun, Oct 07, 2001 at 05:09:29PM -0400, Kirrily 'Skud' Robert wrote: > I've built an RPM of Test-SDK using cpan2rpm, and when I try to install > it on a Red Hat system it says: > > [root@e-smith skud]# rpm -Uvh perl-Test-SDK-0.04-1.i386.rpm > Preparing...###

Test::Harness in Test-SDK conflicts with Perl

2001-10-07 Thread Kirrily 'Skud' Robert
I've built an RPM of Test-SDK using cpan2rpm, and when I try to install it on a Red Hat system it says: [root@e-smith skud]# rpm -Uvh perl-Test-SDK-0.04-1.i386.rpm Preparing...### [100%] file /usr/lib/perl5/5.6.0/Test/Harness.pm from instal

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

2001-10-07 Thread Kirrily 'Skud' Robert
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. Since WWW::Chat's fail() is only used internally, could I possibly request that it be changed to not export, and/or rename it _fail, or whatever. Anythi

testing web foo with Test::More

2001-10-07 Thread Kirrily 'Skud' Robert
OK, I've been putting off figuring this out for ages, but here it is: #!/usr/bin/perl -w use strict; use Inline 'WebChat'; use Test::More 'no_plan'; ok(google(), "Can get google"); __END__ __WebChat__ sub google { GET http://google.