I want to call the perl script through the another perl script. I have used,
system('/home/arun/title_verifier.pl');
but it throws,
sh: 1: /home/arun/title_verifier.pl: Permission denied
So how can i make it...
I want to call the perl script through the another perl script. I have used,
system('/home/arun/title_verifier.pl');
but it throws,
sh: 1: /home/arun/title_verifier.pl: Permission denied
So how can i make it...
Perlスクリプトに実行権限があることを確認してください
chmod +x /home/arun/title_verifier.pl
またはでスクリプトを呼び出すperl
system('perl /home/arun/title_verifier.pl');
また、環境perlではなく、perlを使用してスクリプトを実行することもできます。
system($ ^ X、 "/home/arun/title_verifier.pl")==0またはdie"$!";