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 \
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.