I am getting the following errors in perl script after the restructure of folder tree ..
Without any information on the script that you're running, it seems pretty clear that your re-structuring has caused the problem. I'd address that by reversing the re-structuring you've done.