3 package Pod::Perldoc::ToChecker;
8 # Pick our superclass...
10 eval 'require Pod::Simple::Checker';
13 @ISA = ('Pod::Checker');
15 @ISA = ('Pod::Simple::Checker');
19 sub write_with_binmode { 0 }
20 sub output_extension { 'txt' }
23 my( $self, $file, $tmp, $tmpfd ) = @_;
24 print "No Pod errors in $file\n";
34 Pod::Perldoc::ToChecker - let Perldoc check Pod for errors
38 % perldoc -o checker SomeFile.pod
39 No Pod errors in SomeFile.pod
44 This is a "plug-in" class that allows Perldoc to use
45 Pod::Simple::Checker as a "formatter" class (or if that is
46 not available, then Pod::Checker), to check for errors in a given
49 This is actually a Pod::Simple::Checker (or Pod::Checker) subclass, and
50 inherits all its options.
54 L<Pod::Simple::Checker>, L<Pod::Simple>, L<Pod::Checker>, L<Pod::Perldoc>
56 =head1 COPYRIGHT AND DISCLAIMERS
58 Copyright (c) 2002 Sean M. Burke. All rights reserved.
60 This library is free software; you can redistribute it and/or modify it
61 under the same terms as Perl itself.
63 This program is distributed in the hope that it will be useful, but
64 without any warranty; without even the implied warranty of
65 merchantability or fitness for a particular purpose.
69 Sean M. Burke C<sburke@cpan.org>