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: 9563
Status: resolved
Priority: 0/
Queue: Test-Pod

People
Owner: Nobody in particular
Requestors: david [...] hyperbolic.net
Cc:
AdminCc:

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



Date: Sat, 08 Jan 2005 10:41:14 -0500
From: "David A. Golden" <david [...] hyperbolic.net>
To: andy [...] petdance.com
Subject: Test::Pod -- nit in Pod
Andy, I found a minor nit on the docs for Test::Pod -- the very first synopsis example doesn't work: use Test::Pod; plan tests => $num_tests; pod_file_ok( $file, "Valid POD file" ); Test::Pod doesn't export plan, so this fails. This works, of course: use Test::Pod tests => $num_tests; pod_file_ok( $file, "Valid POD file" ); Or this (resembling the other examples): use Test::More; use Test::Pod; plan tests => $num_tests; pod_file_ok( $file, "Valid POD file" ); I know this is pedantic, but it bit me while fooling with some command-line perl in a scriptfile to test out my pod. With most people putting their plan in the "use Test::Pod" line or just calling "all_pod_files_ok", I doubt this bites most people, but it's a easy fix, so I thought I'd mention it. Best regards, David Golden
Fixed in 1.26.