David Ressman wrote:
> something's caching previously entered form data and 
> displaying it back to me as the default values in those same forms

This is most likely a variable scoping problem as described here:

  http://perl.apache.org/docs/1.0/guide/frequent.html

As a rule of thumb, variables which are 'local' to a subroutine
should be declared with 'my' and variables which should be
visible to all routines in a file should be declared with 'our'.

eg:

  use CGI;

  our $cgi = new CGI;

  ...

  sub do_something {
    my($arg1, $arg2) = @_;
    ...
  } 

If your script has global variables which are declared with 'my',
they will cause problems.

Regards
Grant

Reply via email to