in reply to how to execute scripts using html
sheesh! Anythings possible in Perl... Just kidding. Well about the sheesh part anyways.
To answer your question, wait it already was, it is very possible. You just need to use CGI to make the magic my young monk. It can be done easily through html forms and a short perl script.
Read the tutorial that was in the above post, it will do you a lot more good if you read it then we just give you the code. However, don't be hesitant to ask us for help if you hit a few stumbling blocks.