in reply to what code do i need to extract form data
Use the CGI module and, in particular, its "param" function.
"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg