由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - How to use Text::Unidecode from cpan in Perl?
相关主题
请教各位先贤一个Perl 问题请推荐 perl 的IDE
perl question: how to change GMT time to local time?in Java, how can we trigger an event when click on a Text
perl, Java, C/C++ 在数据处理和分析中的比较perl monk (ascii art)
说个Perl无与伦比?的优点吧Usage of Grep???help!!!
PERL help![转载] 在CGI程序中有何好方法返回HTML
What language I should use?perl array|hash question
auto download text from a web pageperl:里有象 c assert 的东西吗?
Q: 2 submit buttons in 1 page (转载)请问perl程序能不能加运行参数?
相关话题的讨论汇总
话题: text话题: unidecode话题: cpan话题: perl话题: use
进入Programming版参与讨论
1 (共1页)
h**p
发帖数: 14
1
Hi, I have a simple code I got from CPAN page.
#!/opt/perl-5.8.8/bin/perl -w
use utf8;
use Text::Unidecode;
print unidecode(
"\x{5317}\x{4EB0}\n"
);
When I run it, I got error message:
"Can't locate Text/Unidecode.pm in @INC (@INC contains: /usr/lib/perl5/site_
perl /opt/perl-5.8.8/lib/5.8.8/x86_64-linux /...."
What's wrong here? The CPAN page said this module works with perl 5.0
Thanks for help!!
t****t
发帖数: 6806
2
did you install the module? how did you install the module?

site_

【在 h**p 的大作中提到】
: Hi, I have a simple code I got from CPAN page.
: #!/opt/perl-5.8.8/bin/perl -w
: use utf8;
: use Text::Unidecode;
: print unidecode(
: "\x{5317}\x{4EB0}\n"
: );
: When I run it, I got error message:
: "Can't locate Text/Unidecode.pm in @INC (@INC contains: /usr/lib/perl5/site_
: perl /opt/perl-5.8.8/lib/5.8.8/x86_64-linux /...."

1 (共1页)
进入Programming版参与讨论
相关主题
请问perl程序能不能加运行参数?PERL help!
perl questionWhat language I should use?
perl help---many thanksauto download text from a web page
how to verify X509 certificate in perl?Q: 2 submit buttons in 1 page (转载)
请教各位先贤一个Perl 问题请推荐 perl 的IDE
perl question: how to change GMT time to local time?in Java, how can we trigger an event when click on a Text
perl, Java, C/C++ 在数据处理和分析中的比较perl monk (ascii art)
说个Perl无与伦比?的优点吧Usage of Grep???help!!!
相关话题的讨论汇总
话题: text话题: unidecode话题: cpan话题: perl话题: use