On Sun Aug 01 15:39:43 2010, sprout@cpan.org wrote:
Show quoted text> $ perl5.13.3 -S pmvers Encode
> 2.39
> $ perl5.13.3 -MEncode -le'print find_encoding("UTF-8")->encode([])'
> Segmentation fault
> $ perl5.13.3 -MEncode -le'print find_encoding("UTF-8")-
> >encode(bless[])'
> Segmentation fault
> $ perl5.13.3 -MEncode -le'use overload q\""\=>sub{"oenuh"}; print
> find_encoding("UTF-8")->encode(bless[])'
> Segmentation fault
Fixed in 2.40. Note the value is different from (en|de)code_utf8 in this case.
% perl -Mblib -MEncode -le'print find_encoding("UTF-8")->encode([])'
%
Thank you for your report.
Dan the Maintainer Thereof