* Michael G Schwern <[EMAIL PROTECTED]> [2006-07-21 01:30]: > On 7/20/06, A. Pagaltzis <[EMAIL PROTECTED]> wrote: > > use Test::More; > > > > plan tests => my $tests; > > > > { > > require_ok( 'MyModule' ); > > my $obj = MyModule->new(); > > isa_ok( $obj, 'MyModule' ); > > } > > BEGIN { $tests += 3 } > > Pretty sneaky. This is now in the FAQ. > http://perl-qa.yi.org/index.php/Test::FAQ
And I fixed my obvious mistakes in the copy over there. The perils of posting code untested… Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>