Subject: | POD errors in example |
The POD shown here:
http://search.cpan.org/~ged/Test-SimpleUnit-1.21/lib/Test/SimpleUnit.pm#Assertion_Functions
included the following example code:
my @tests = (
[...]
);
runTests( @testSuite );
I believe both of those arrays should have the same name. In addition, this code:
# One-time setup function -- overrides the previous setup, but is
# immediately discarded after executing once.
{
name => 'setup',
func => sub {
MyClass::prepNetwork();
},
},
uses a "func" key, which is undocumented or an error. The other tests use a "test" key.
-Tom