Thanks for the quick reply JavaFan.. Its a Perl script,by '#!Perl_Interpreter_Location', i meant '#!/usr/bin/perl', isnt this SHE-BANG?
sorry for the error-prone code..
I had corrected all the issues pointed out by u, but still i end with the same problem.. Could you please tell me what else could be wrong!!