in reply to bareword problems

To Perl that sort of looks like a bareword, you need to give a bit more of a hint on what your trying to do.

Change it to:

end_form(),
and that should fix your problem.
Wonko