I don't know Perl that well, but is it not possible to do server side validation and pass the body as a variable? I come from an ASP background and I know it is possible to do this there. Just thinking aloud.

Cheers,
Jeff