I couldn't get any help from the forum but on this link http://www.perldoc.com/...s-On-the--%23!--Line.
I replaced the -wT switch with -wU switch. The script worked perfectly this way. This works only in Unix environment.
Thanks All.
I replaced the -wT switch with -wU switch. The script worked perfectly this way. This works only in Unix environment.
Thanks All.