0
我在批处理中执行我的perl文件。我在批处理文件中粘贴perl文件的所有名称并执行它。我正在给该文件的一个小演示。我在perl文件中得到Bareword错误
批处理文件/10BT_run1.Amset包含:
Perl ../tools/test_driver_multi_aid_sequential.pl e2_h/l2_mode/set_bwprf #this is line 4 of the batch file
我越来越喜欢
Bareword found where operator expected at ./10BT_run1.Amset line 4, near "/tools /test_driver_multi_aid_sequential"
(Missing operator before test_driver_multi_aid_sequential?)
Bareword found where operator expected at ./10BT_run1.Amset line 4, near "/l2_mode/set_bwprf"
(Missing operator before et_bwprf?)
尝试将整个输入放在双引号''“' – 2012-03-06 06:02:03
或单引号中。单引号将帮助您忽略文件路径中的'/'。 – 2012-03-06 06:04:31
在该行的开头添加单引号,即'Perl ../tools/test_driver_multi_aid_sequential.pl e2_h/l2_mode/set_bwprf'或只有参数? – Nitesh 2012-03-06 06:15:25