Fair enough (no pun intended). I've removed the echo and combined the two Response.Write calls. However, the last two lines are necessary - the Perl version closes the filehandle, so the ASP version should do the same.
Are you sure it was a book? Are you sure it wasn't.....nothing?