I am calling a unix shell script from a perl script by using the following system command:
system("./readfile_new.sh");
but it seems the unix script readfile_new.sh is not being called.
Can someone let me know how to call this script in the perl file/
Hi,
you can call the shell script through a perl script using the following command below....
system("sh","readfile_new.sh");
If your shell file is in current directory,then this should work. (FYI: I use korn shell). If your sh script is in some other dir then specify the path.
Hope this works for you.