in reply to Re: Autogenerate test scripts for your perl modules..
in thread Autogenerate test scripts for your perl modules..

I used what was on the machine:
[07:34:23 brad]$ perl -MTest::More -e 'print "Perl: $] Test::More: $Te +st::More::VERSION\n";' Perl: 5.006001 Test::More: 0.46

I was also browsing the docs on the Test::* modules on perldoc.org and it matched up. Are there two modules with the same name space?

-brad..

Replies are listed 'Best First'.
Re: Re: Re: Autogenerate test scripts for your perl modules..
by hossman (Prior) on Aug 30, 2002 at 17:38 UTC
    Are there two modules with the same name space?

    Not so much differnt modules as different versions depending on what distrobution it was installed in.

    It's not uncommon -- especially when modules get rolled into the standared "perl" distrobution -- but normally the standalone distributions are still maintained and have the latest greatest features (ie: CPAN comes with perl, but you don't want to have to upgrade perl everytime you want the latest improvements to CPAN.)

    Test::More is a little unusual in that it has been included in a wide variety distributions -- everything from Wx to Palm::Progect to perl-5.8.0.

    Looking a little deeper right now, it looks like Test::More got rolled into the Test::Simple, and that's the new "definitive" distribution.