Pod-WordML
view release on metacpan or search on metacpan
lib/Pod/WordML.pm view on Meta::CPAN
$_[0]{'in_verbatim'} = 1;
}
sub end_Verbatim
{
my $self = shift;
# get rid of all but one trailing newline
$self->{'scratch'} =~ s/\s+\z//;
chomp( my @lines = split m/^/m, $self->{'scratch'} );
$self->{'scratch'} = '';
@lines = map { s/</</g; $_ } @lines;
if( @lines == 1 )
{
$self->make_para( $self->single_code_line_style, @lines );
}
elsif( @lines )
{
( run in 0.511 second using v1.01-cache-2.11-cpan-5511b514fd6 )