Did you try that?
Adding the double quotes around the opening tag won't solve the OP's problem. When using a herdoc, perl will "assume" that double quotes were used if none were used.
In reply to Re^3: Can we use print <<HTML; twice in same file?
by fishmonger
in thread [Solved]: Can we use print <<HTML; twice in same file?
by Perl300
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |