develooper Front page | perl.perl5.porters | Postings from September 2011

[perl #99096] Pod::Html does not handle all multi-angle interior sequences correctly

jens . schmidt35 @ arcor . de
September 14, 2011 14:14
[perl #99096] Pod::Html does not handle all multi-angle interior sequences correctly
Message ID:
# New Ticket Created by 
# Please include the string:  [perl #99096]
# in the subject line of all future correspondence about this issue. 
# <URL: >

This is a bug report for perl from,
generated with the help of perlbug 1.39 running under perl 5.12.2.

[Please describe your issue here]

Consider the following pod snippet, where the interior sequence starts with a


foo C<<
<bar> >>


When run through pod2html, this results in the following paragraph:

<p>foo <code>&lt;
&lt;bar</code> &gt;&gt;</p>

When I replace the regular expression "[^\S\n]" in Pod::Html by a simple "\s",
the result looks as expected:

<p>foo <code>&lt;bar&gt;</code></p>

Not sure why an IS must not start with a newline after the opening angles.
This is very inconvenient since your favorite text editor may place a newline
immediately after the opening angels when reformatting paragraphs.

[Please do not change anything below this line]
Site configuration information for perl 5.12.2:

Configured by oraic at Mon Dec 20 11:09:30 CET 2010.

Summary of my perl5 (revision 5 version 12 subversion 2) configuration:
    osname=linux, osvers=2.6.18-8.el5, archname=i686-linux-thread-multi
    uname='linux ls3094 2.6.18-8.el5 #1 smp fri jan 26 14:15:21 est 2007 i686 i686 i386 gnulinux '
    config_args='-d -Dusethreads=yes -Dusevendorprefix=no -Dprefix=/sapmnt/oraic/tools/perl-5.12'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.1.1 20070105 (Red Hat 4.1.1-52)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'

Locally applied patches:

@INC for perl 5.12.2:

Environment for perl 5.12.2:
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PERL_BADLANG (unset)
    SHELL=/bin/bash Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About