$input1 = $cgi->param() $input2 = $cgi->param() #### post => http://link.com/?num=either1 $input or $input2