From: Jesse Vincent Date: Wed, 30 Sep 2009 16:02:24 +0000 (+0900) Subject: Update Pod::Plainer to 1.01 like Maintainers.pl says it is X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=63377b8da2054ffc5c248cb3d1cfdfd4f13f1c9f;p=p5sagit%2Fp5-mst-13.2.git Update Pod::Plainer to 1.01 like Maintainers.pl says it is --- diff --git a/dist/Pod-Plainer/Plainer.pm b/dist/Pod-Plainer/Plainer.pm index f64eb60..11059b2 100644 --- a/dist/Pod-Plainer/Plainer.pm +++ b/dist/Pod-Plainer/Plainer.pm @@ -1,9 +1,11 @@ package Pod::Plainer; +use 5.006; use strict; +use warnings; use if $] >= 5.011, 'deprecate'; use Pod::Parser; our @ISA = qw(Pod::Parser); -our $VERSION = '1.00'; +our $VERSION = '1.01'; our %E = qw( < lt > gt ); @@ -54,6 +56,25 @@ and returns the old(er) style with just 'CEE'; This can be used to pre-process Pod before using tools which do not recognise the new style Pods. +=head2 METHODS + +=over + +=item escape_ltgt + +Replace '<' and '>' by 'EEltE' and 'EEgtE'. + +=item simple_delimiters + +Replace delimiters by 'E' and 'E'. + +=item textblock + +Redefine C from L to use C +and C. + +=back + =head2 EXPORT None by default. @@ -66,5 +87,14 @@ Robin Barker, rmb1@npl.co.uk See L. +=head1 COPYRIGHT AND LICENSE + +Copyright (C) 2009 by Robin Barker + +This library is free software; you can redistribute it and/or modify +it under the same terms as Perl itself, either Perl version 5.10.1 or, +at your option, any later version of Perl 5 you may have available. + =cut +$Id: Plainer.pm 250 2009-09-20 18:02:00Z rmb1 $ diff --git a/dist/Pod-Plainer/t/plainer.t b/dist/Pod-Plainer/t/plainer.t index c6f178a..e226494 100644 --- a/dist/Pod-Plainer/t/plainer.t +++ b/dist/Pod-Plainer/t/plainer.t @@ -38,6 +38,8 @@ END { 1 while unlink $output; } +# $Id: plainer.t 247 2009-09-15 18:33:34Z rmb1 $ + __END__ =head <> now reads in records =head EE now reads in records