##
my $server_endpoint = "http://localhost/cgi-bin/stackoverflow_in.cgi";
##
##
my $sth = $dbh->prepare(qq{INSERT INTO cust_details.c_details(f_name,l_name,dob_email) VALUES ('$customer->{first_name}->[0]','$customer->{last_name}->[0]','$customer->{dob}->[0]','$customer->{email}->[0]')});
##
##
my $firstname = param('firstname');
my $lastname = param('lastname');