Not entirely sure what you mean by ... want to invoke it from my program, but my Crystal Ball tells me you might have the following scenario :)
You're repeatedly calling the same CGI script (as, for example, to enter multiple data records into some DB, with each form submit providing the data for a single record...), and you want to keep CGI.pm from setting the values of the previous submit as start values in the next form presented to the user.
If that's the case, the method delete_all() might be what you're looking for. Just execute it before outputting the form -- after having processed the parameters from the previous submit, of course.
In reply to Re: CGI.PM automaticly reset form to Defaults
by almut
in thread CGI.PM automaticly reset form to Defaults
by harryC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |