print $ARGV[0]; print $ARGV[1]; ...... 在 2011年11月3日 下午5:41,Fayland Lam <[email protected]>写道:
> perldoc Getopt::Long > > > 2011/11/3 lhcsky2008 <[email protected]> > >> ** >> ** >> Hi,各位好! >> >> 我用perl语言编写了一个小程序,里面有一个 rpc.pl 的文件,我希望另外的系统在调用这个 >> rpc.pl文件执行的时候把参数动态的传递进来。但是我不知道该如何传递,也不知道 >> rpc.pl 文件中该如何接收外部的动态参数。请各位帮忙提供一下案例或者资料,非常感谢! >> >> 2011-11-03 >> ------------------------------ >> Mr.Liu >> Email: [email protected] >> 阳光下的微笑, 那么耀眼! 那么灿烂! >> ** >> >> -- >> 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。 >> 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 >> 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。 >> 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。 >> > > > > -- > Fayland Lam // http://www.fayland.org/ > > -- > 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。 > 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 > 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。 > 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。 > -- --------------------------- Achilles Xu -- 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。
