Re: pod2html in perl-5.15.9 recognizes POD markup in verbatim sections

2012-04-25 Thread chromatic
On Tuesday, April 24, 2012 at 02:08 PM, Gisle Aas wrote:

> pod2html in perl-5.15.9 uses Pod::Simple::XHTML to do its work; and 
Pod::Simple::XHTML is different than other POD formatters in that it enables 
'codes_in_verbatim' feature of Pod::Simple.

> I don't like this inconsistency.  I believe this "feature" should simply be 
turned off.  This is a patch to do that:
 
>https://github.com/gisle/pod-
simple/commit/846241382485e039ad3802af81c8c1e87afe1ac9
 
> Any objections?

Yes; I use this feature.

-- c


Re: podlators/Pod::Simple backwards compatibility

2007-02-11 Thread chromatic
On Saturday 10 February 2007 09:33, Russ Allbery wrote:

> +  my $diamondop = ref($source) =~ /^(?:GLOB|FileHandle|IO::\w+)$/
> +    || eval { tied *$source };

Hm, does this disallow subclassing any of those packages?  Would checking 
fileno() be better?  How about using Scalar::Util::blessed() instead of 
ref()?

-- c