aanya247
asked on
Perl Script Help
I need some help in writing a perl script, I know how to write scripts in Korn shell, So I need some help in transforming the korn shell logic to perl..
Step 1 : First I define a Runlist
Runlist : prescript.pl \
configured.pl \
postscript.pl\
Step 2: Then using For/While loop equivalent the scripts in runlist should be executed one after other, The scripts are only run as root and only if they are successful the second one should be triggered
So can someone help me write this in Perl.
Thanks.
Step 1 : First I define a Runlist
Runlist : prescript.pl \
configured.pl \
postscript.pl\
Step 2: Then using For/While loop equivalent the scripts in runlist should be executed one after other, The scripts are only run as root and only if they are successful the second one should be triggered
So can someone help me write this in Perl.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.