# this will load the params from the form post sub loadParameters { my %requiredChecks; my $paramDescription; # grab the service param hash from the params passed in. %serviceParams = param("SERVICE_PARAMS"); $serviceName = param("SERVICE_NAME"); $serviceDescription = param("SERVICE_DESCIRPTION"); $paramDescription = param("SERVICE_PARAMETER_DESCIRPTION"); #now we have to load the parameter stuff if( $paramDescription ) { $requiredChecks{"IS_REQUIRED"} = param("IS_REQUIRED"); $requiredChecks{"IS_SELLER_DEPENDANT"} = param("IS_SELLER_DEPENDANT"); $serviceParams{"$paramDescription"} = %requiredChecks; # now add the params to the master list for passing through. param("SERVICE_PARAMS", \%serviceParams); } }