perl test.pl a b c即可
如果想不打perl也可以的话,需要改windows里面注册的.pl <http://xn--26qv08d5ygdo2ak3f.pl>文件类型的设置
----------------------------------
[email protected]


2010/3/15 Huangj <[email protected]>

> 编译器: strawberry
> 程序文件名: test.pl
>
> 程序代码: print @ARGV;
>
> 进入 command 执行: test.pl a b c
> ---------------------------------------
> 貌似不能将命令行参数传递给 @ARGV,
> 用 perl -d 调试器运行是正常的。
>
>
>  --
> 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
> 要向此网上论坛发帖,请发送电子邮件至 [email protected]。
> 要取消订阅此网上论坛,请发送电子邮件至 
> [email protected]<perlchina%[email protected]>
> 。
> 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。
>

-- 
您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 [email protected]。
要取消订阅此网上论坛,请发送电子邮件至 [email protected]。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

回复