$hiddenhash{$formname1} = 'formvalue1'; $hiddenhash{$formname2} = 'formvalue2'; $request = POST "http://www.server.com", Content => [ %hiddenhash ];