I would like to run a Shell Script from within one of My Perl Scripts. Say I wanted to run the shell script “go.sh” how would I execute it from within my Perl Script, or what would the syntax be to kick it off? Preferably from within the Korn Shell.
Perl knows several ways to execute programs as well as scripts. Try system() or exec(), the syntax can be revealed via 'perldoc -f system'.
Btw perl-questions are answered more quickly in the perl-forum... regards
chenn
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.