Subject: | throwing warnings while open ':std' => ':encoding(UTF-8)' |
Date: | Fri, 25 Mar 2011 14:03:19 +0200 |
To: | bug-HTML-Table [...] rt.cpan.org |
From: | WK <wanradt [...] gmail.com> |
Terr!
While used
use open ':std' => ':encoding(UTF-8)'
in script, HTML::Table throws such warning:
utf8 "\xE4" does not map to Unicode at /usr/share/perl5/HTML/Table.pm line 755.
Line 755 is in the middle of POD. When i remove whole POD from module,
warning dissapears.
Test case:
use open ':std' => ':encoding(UTF-8)'; # -CS
use HTML::Table;
my @table = ([1, 2, 3, 4, 5, 6 ],
[1, 2, 3, 4, 5, 6 ],
[1, 2, 3, 4, 5, 6 ],
);
my $table = new HTML::Table(
-head=> [ qw/one two three gour five six/ ],
-data=> \@table,
);
print $table;
Background:
$ perl -v
This is perl, v5.10.1 (*) built for i486-linux-gnu-thread-multi
(with 51 registered patches, see perl -V for more detail)
HTML::Table ver 2.08a
--
Wbr,
Kõike hääd,
Gunnar