Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

When a CGI script using CGI.pm is called multiple times the input fields are given defaults from the previous use. Sometimes this can be an annoying feature, is there anyway to disable or get around this?

Replies are listed 'Best First'.
Re: Disabling Memory in CGI.pm
by Asim (Hermit) on Feb 02, 2000 at 19:21 UTC
    In the book _Official Guide to Programming with CGI.pm_, a very good read, it mentions the -override argument for the various elements of a form: print $cgi->textarea(-name=>'testing', -override); ----Asim