This reveals that use_ok() was not in a BEGIN block, and in turn that the
test count needs to be declared before this BEGIN block runs. Now fixed.
-#!perl
+#!perl -w
BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
}
+use strict;
+
use File::Basename;
use File::Spec;
-use Test::More;
-plan tests => 9;
-
+use Test::More tests => 9;
-use_ok( 'Pod::Functions' );
+BEGIN {
+ use_ok( 'Pod::Functions' );
+}
# How do you test exported vars?
my( $pkg_ref, $exp_ref ) = ( \%Pod::Functions::Kinds, \%Kinds );