Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Pod CPAN distribution.

Report information
The Basics
Id: 20430
Status: resolved
Priority: 0/
Queue: Test-Pod

People
Owner: Nobody in particular
Requestors: a.r.ferreira [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 1.24
Fixed in: (no value)



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.
On Wed Jul 12 12:56:12 2006, a.r.ferreira@gmail.com wrote: Show quoted text
> 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" );
Thanks, fixed in 1.26.