in reply to Fetched data in HTML..

HTML::FormHandler and HTML::FormFu can help. Even if you're not using a framework like Catalyst::Manual or even CGI, you could use the form modules to create the basic form HTML.