The way you coded it results in perl looking for a program with the name path of script in linux/perl script2.pl. I'm pretty sure you don't have such a program in the path. What you like is probably:
system('perl', 'path of script in linux/script2.pl', $configfile);
McA
In reply to Re: How to pass arguments in perl in linux system through system command
by McA
in thread How to pass arguments in perl in linux system through system command
by sumandas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |