Subject: | Mistake in docs |
At the start of the synopsis, we read:
use Test::Pod;
plan tests => $num_tests;
pod_file_ok( $file, "Valid POD file" );
but that does not work because there is no exported 'plan' function. In
turn, this actually works.
use Test::Pod tests => $num_tests;
pod_file_ok( $file, "Valid POD file" );
A change in POD or the inclusion of an exported &plan function would fix
that.