in reply to Javascript with CGI::FormBuilder and Template Toolkit

my $lot =<<'EOF';
Hang on, your problem is not with the HEREDOC quote, but with the CGI call implicitly translated the quote character (") meta-characters.

Change your (") to (') in the HEREDOC instead:

href='javascript:void(0)' onclick='gfPop.fPopCalendar(document.demoform.dc);return false;' HIDEF +OCUS> <img name='popcal' align='absmiddle' src='calbtn.gif' width='34' heigh +t='22' border='0' alt=''>
Update: Me stupid after lunch. Forget about what I said. Aristotle was right.