Re: Pod::Simple can treat binary as pod due to liberal/inconsistent regexp patterns

2015-01-07 Thread David E. Wheeler
On Jan 7, 2015, at 11:30 AM, Karl Williamson wrote: >> I asked David about the inconsistency and he asked that I bring it up here. >> >> Shouldn't the more strict regexp be used in both places? > > I think so. Looking at the regexes though, I didn't know that directives > could be capitals, a

Re: Assume CP1252

2015-01-07 Thread Grant McLean
On Mon, 2015-01-05 at 21:58 -0800, David E.Wheeler wrote: > Pod Peeps: > > perlpodspec says: > >* Since Perl recognizes a Unicode Byte Order Mark at the start of files >as signaling that the file is Unicode encoded as in UTF-16 (whether >big-endian or little-endian) or UTF-8

Re: Pod::Simple can treat binary as pod due to liberal/inconsistent regexp patterns

2015-01-07 Thread Karl Williamson
On 01/06/2015 07:55 AM, Randy Stauner wrote: This came up in discussing a metacpan bug (https://github.com/CPAN-API/cpan-api/issues/364#issuecomment-66864855)... A perl module can technically have perl code, pod, and even spans of binary (in a data token, or maybe even a here doc). To my surpri