Some things you might want to have a look at: Test::Tutorial (its in the Test-Simple CPAN tarball) Test::Simple (I'll leave that as an excerise for the reader)
For examples of testing DBI derived modules, have a look at Class::DBI's test suite. It just uses DBD::CSV to do its testing, so there's no database assumptions and yet you can still give your code a thorough beating. It does make DBD::CSV a module dependency, but given that you probably already have a dependency on DBI anyway, its not such a big deal. Once you have one depenency, it really doesn't matter how many more you have, the non-CPAN shell users have to do the CPAN legwork anyway. -- Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/ Perl Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One i gave them some paste do that funky dance, white boy i laughed my ass off -- Fmh
