2009年9月7日星期一

[PerlChina] 关于Dzsoft perl editor

抱歉,刚刚前一个帖子没写完,就发了。。。按错键了
我刚刚开始学习perl,现在用Dzsoft perl editor进行练习,我按照书上的习题输入如下的程序:
#!/usr/bin/perl
@lines = 'perlodc -u -f atan2';
foreach (@lines) {
s/\w<([^>]+)>/\U$1/g;
print;
}

可是运行后,它没有输出书上的结果,显示的是:
perlodc -u -f atan2
并且还出现一行警告如下:
Warning: Content-Type header not found in the script output. If this
is not a CGI script, please use the Run -> Run in Command Prompt menu
to run it.
于是我按照提示使用Run in Command prompt运行
可是,此时弹出一个对话框叫我输入Switches和Argument,请问是什么意思?谢谢

--~--~---------~--~----~------------~-------~--~----~
您收到此信息是由于您订阅了 Google 论坛"PerlChina Mongers 讨论组"论坛。
要在此论坛发帖,请发电子邮件到 perlchina@googlegroups.com
要退订此论坛,请发邮件至 perlchina+unsubscribe@googlegroups.com
更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛
-~----------~----~----~----~------~----~------~--~---

没有评论: