Thanks, you are right. After putting new line after the "END_OF_HTML" , the script is working fine. | [reply] [Watch: Dir/Any] |
This worked for me. Could't get cgi script with here doc to work (500 error - put new line after the EOF identifier, and it worked. | [reply] [Watch: Dir/Any] |
Thank you all guys. Problem is solved. I changed print command from "print <<END_OF_HTML" to print qq{ } and the script is working fine now. Now the question is why wd it not work with "END_OF_HTML" ?
| [reply] [Watch: Dir/Any] |