podlators

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

 - Switch UTF-8 output encoding to use Encode directly instead of adding a
   PerlIO layer.  Probe the PerlIO layers with protection for Perl
   versions without PerlIO and set a flag indicating whether we also need
   to encode, to avoid double-encoding when writing to a file handle that
   is already doing UTF-8 encoding via PerlIO.

 - Do not strip escaped trailing whitespace in *roff output such as that
   created by S<> at the end of a line, since the backslash is then taken
   by *roff as escaping the newline.  Thanks, Kevin Ryde.  (#61781)

 - Add perlpodstyle, a new style guide for POD documentation, split mostly
   from the NOTES section of the pod2man manual page.  Remove the NOTES
   section of pod2man's documentation.

 - Convert pod2man and pod2text from scripts generated from *.PL files to
   simple scripts, relying on ExtUtils::MakeMaker to handle replacing the
   #! path during the package build.

2.3.1 - 2010-02-17

 - Increase $VERSION in Pod::Text::Color and Pod::Text::Termcap, missed

lib/Pod/Man.pm  view on Meta::CPAN

    $$self{ITEMS} = 0;
    $self->output ($$self{INDENT} > 0 ? ".Sp\n" : ".PP\n")
        if $$self{NEEDSPACE};
}

# Output any pending index entries, and optionally an index entry given as an
# argument.  Support multiple index entries in X<> separated by slashes, and
# strip special escapes from index entries.
sub outindex {
    my ($self, $section, $index) = @_;
    my @entries = map { split m%\s*/\s*% } @{ $$self{INDEX} };
    return unless ($section || @entries);

    # We're about to output all pending entries, so clear our pending queue.
    $$self{INDEX} = [];

    # Build the output.  Regular index entries are marked Xref, and headings
    # pass in their own section.  Undo some *roff formatting on headings.
    my @output;
    if (@entries) {
        push @output, [ 'Xref', join (' ', @entries) ];



( run in 1.043 second using v1.01-cache-2.11-cpan-71847e10f99 )