I have a form, it's submitted to a CGI to be merged with a template to send an HTML email.
As you probably know the Template module works on arrays of hashes, so is there an easy way to make the $cgi->param('var_name') variables into a single index array of a hash to send to the template for processing?
so I have
%hash = a hash of value pairs for every form field held in the CGI object and then make $array[$[] = %hash;
thanks
1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
As you probably know the Template module works on arrays of hashes, so is there an easy way to make the $cgi->param('var_name') variables into a single index array of a hash to send to the template for processing?
so I have
%hash = a hash of value pairs for every form field held in the CGI object and then make $array[$[] = %hash;
thanks
1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.