This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update RMG - note sync-with-cpan is untested on Windows
[perl5.git] / Porting / podtidy
CommitLineData
80029904
LB
1#!perl
2use strict;
3use warnings;
99d49b35 4use Pod::Tidy 0.10;
80029904
LB
5
6# Reformat pod using Pod::Tidy
7
80029904
LB
8my $filename = shift || die "Usage podtidy [filename]";
9
10Pod::Tidy::tidy_files(
11 files => [$filename],
12 verbose => 1,
13 inplace => 1,
14 nobackup => 1,
99d49b35 15 columns => 72, # 72 is what fmt defaults to
80029904 16);