in reply to [OT] drag and drop web app
With the requirements you've posted I'd say this is something you'd do in HTML(perhaps 5 see drag) or JavaScript. Solve the problem there then have Perl generate the required code/server side processing.