darren chamberlain wrote:
> Make those global symbols ($cookie, $user, and $hash) lexical (declare
> with my) and the code will both compile and do what you expect (i.e.,
> not maintain values from call to call).

That's what I was thinking too.  Also, it's really not a good idea to do 
your own parsing of the input and cookies.  You should use one of the 
CGI modules or Apache::Request and Apache::Cookie for this.  Writing 
your own routine for this is just asking for security problems and bugs.

- Perrin


Reply via email to