#!/usr/bin/perl
use strict;
use warnings;
use Pod::Spell;
our $VERSION = '1.17'; # VERSION
if(@ARGV) { # iterate over files, sending to STDOUT
foreach my $x (@ARGV) {
Pod::Spell->new->parse_from_file($x, '-');
}
} else { # take from STDIN, send to STDOUT
Pod::Spell->new->parse_from_filehandle();
}
# ABSTRACT: pod spell checking command line interface
# PODNAME: podspell
__END__
=pod
=encoding UTF-8
=head1 NAME
podspell - pod spell checking command line interface
=head1 VERSION
version 1.17
=head1 SYNOPSIS
% podspell Thing.pm | ispell
=head1 BUGS
Please report any bugs or feature requests on the bugtracker website
https://github.com/xenoterracide/pod-spell/issues
When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired
feature.
=head1 AUTHORS
=over 4
=item *
Sean M. Burke <sburke@cpan.org>
=item *
Caleb Cushing <xenoterracide@gmail.com>
=back
=head1 COPYRIGHT AND LICENSE
This software is Copyright (c) 2015 by Caleb Cushing.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
=cut