in reply to Having trouble printing HTML page

One of the sneaky issues with HERE docs is that they require at least one line after the string terminator. Edit the file and hit 'Enter' after the final ENDHTML. That should take care of it.

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.