Skip Menu |

This queue is for tickets about the File-Slurper CPAN distribution.

Report information
The Basics
Id: 106676
Status: resolved
Priority: 0/
Queue: File-Slurper

People
Owner: Nobody in particular
Requestors: michael.jemmeson [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.008



Subject: Warning if PerlIO::utf8_strict not installed
When setting the HAS_UTF8_STRICT constant without PerlIO::utf8_strict installed: Odd number of elements in anonymous hash at .../lib/perl5/File/Slurper.pm line 32. Perl 5.16.3 thanks, Michael
From: kfm [...] plushkava.net
On Wed Aug 26 12:03:04 2015, mjemmeson wrote: Show quoted text
> When setting the HAS_UTF8_STRICT constant without PerlIO::utf8_strict > installed: > > Odd number of elements in anonymous hash at > .../lib/perl5/File/Slurper.pm line 32. >
A potential fix is to change line #32 to: HAS_UTF8_STRICT => do { local $@; eval { require PerlIO::utf8_strict } } || 0,