boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - How to use Text::Unidecode from cpan in Perl?
相关主题
请教各位先贤一个Perl 问题
perl question: how to change GMT time to local time?
perl, Java, C/C++ 在数据处理和分析中的比较
说个Perl无与伦比?的优点吧
PERL help!
What language I should use?
auto download text from a web page
Q: 2 submit buttons in 1 page (转载)
请推荐 perl 的IDE
in Java, how can we trigger an event when click on a Text
相关话题的讨论汇总
话题: 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版参与讨论
相关主题
in Java, how can we trigger an event when click on a Text
perl monk (ascii art)
Usage of Grep???help!!!
[转载] 在CGI程序中有何好方法返回HTML
perl array|hash question
perl:里有象 c assert 的东西吗?
请问perl程序能不能加运行参数?
perl question
perl help---many thanks
how to verify X509 certificate in perl?
相关话题的讨论汇总
话题: text话题: unidecode话题: cpan话题: perl话题: use