Hello, I want to be able to generate forms automatically (using CGI.pm), by having the settings for several forms in one file and a script that reads these settings and generates the appropriate form, basically instead of using this..... use CGI; $cgi = new CGI; . . . print $cgi->textfield(-name=>'fieldname', -default=>'default text', -size=>15, -maxlength=>15); i want to be able to use something like this.... my $field = 'textfield'; my $options = q{'fieldname','default text',15,15}; print $cgi->$field($options); this doesn't work....puts the whole contents of the $options into the name field of the textfield anyone have any ideas how i could do this? thanks adam ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-anyperl-request@macperl.org