Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
# 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 throug +h. param("SERVICE_PARAMS", \%serviceParams); } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CGI.pm param not following post
by Aristotle (Chancellor) on Jul 09, 2002 at 22:29 UTC | |
|
Re: CGI.pm param not following post
by vladb (Vicar) on Jul 09, 2002 at 22:34 UTC | |
|
Re: CGI.pm param not following post
by zaimoni (Beadle) on Jul 10, 2002 at 04:07 UTC | |
|
Re: CGI.pm param not following post
by hacker (Priest) on Jul 10, 2002 at 10:44 UTC | |
|
Re: CGI.pm param not following post
by hiseldl (Priest) on Jul 10, 2002 at 13:47 UTC |