现在用这个
use XML::Simple;
my $xs1 = new XML::Simple;
my $doc = $xs1->XMLin($file);
读入是正常的,但中文print出来就不对了,binmode(STDOUT, ":utf8")更不行。。。
--
>: ~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/china-pm/attachments/20080813/e8a5a261/attachment.html>