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.
In reply to Re: Having trouble printing HTML page
by Ovid
in thread Having trouble printing HTML page
by Nihil Angst
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |