
my $rootdir = $ARGV[0];my $check_log = $ARGV[1]; perl中时什么意思
2个回答
展开全部
@ARGV命令行传入的参数
自己试一下看会输出什么*.pl sth sth1
my $rootdir = $ARGV[0];my $check_log = $ARGV[1];
print "$rootdir,$check_log";
自己试一下看会输出什么*.pl sth sth1
my $rootdir = $ARGV[0];my $check_log = $ARGV[1];
print "$rootdir,$check_log";
追问
你好 留个邮箱 咨询问题
追答
atmystate@163.com
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询