in reply to Re: Compiling and executing multiple files.
in thread Compiling and executing multiple files.
Yes all files are perl source.
I am running it on SUSE linux OS.
The solution which chargrill given is in shell prompt. Is there any way i can do it inside a perl script. Please regret me if i am wrong it's just a suggestion.
Also when i execute the below code:
for i in '*.pl'; do perl -c $i>$i.log 2>&1; echo "compiled, now running" >> $i.log; perl $i >> $i.log 2>&1;done
I am getting the result for only one file not for other filees.