in reply to why this simple cgi script returns error ? !

<br> needs to be in quotes, otherwise perl assumes you're trying to read the contents of the br filehandle.