First, you can use cookies, temp files.
> .... with multiple
> scripts and html forms and hidden fields.
Do you mean that's a CGI script ? or Javascript ?
> However, I would like to try to
> use one script with subroutines. I guess my main stumbling block is
passing
> hidden form fields between subroutines.
What difference when a CGI script receive those data ?
whatever textarea, raido, hidden, text, still a name=value pair, isn't it ?
=)
> Can anyone offer me a simple
> example of how to go about passing a form field from one subroutine to
> another subroutine where it is a hidden field using cgi.pm?
It's quite confuse for "passing a form field".... do you mean , value ?
if you want to passing values in subs, here you are :
sub entryA
{ my ($entry) = shift ; my $result = ''; ................. return $result}
# MAIN
my $data = ''
if ($model_no) { $data = &entryA($model_no) ;................. }
Again, there is no different for "hidden" or not. Hidden is also name=value
pair, the difference is only visitors can't see the data.
Rgds,
Connie
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]