Try the pragma use CGI qw/-nosticky/;
but I ended up doing a $q->delete_all(); after I process the form variables. But I first put all of the form variables in a hash pre-loaded with "default" values - for the form variables I don't receive back but use. So I don't really work with $q->param except to load my hash. I believe you can make a "copy" of the form variables w/CGI but I just happened to do it myself. I then do the delete before I output any results... Hope this makes cents... or gives you another thing to try... jwm -----Original Message----- From: David Gilden [mailto:[EMAIL PROTECTED]] Sent: October 17, 2001 13:23 To: [EMAIL PROTECTED] Cc: Brian Arnold Subject: RE: CGI.pm hidden field problem Still can't get it to wrk! Do a view source, http://dowda.rockin.net/cgi/sqlguestbook.cgi It just ain't working no mater what I try! Lincoln Stein's CGI.pm book says that you can use default,value or values interchangeably. D. On Wednesday, October 17, 2001 at 1:04 PM, [EMAIL PROTECTED] (Brian Arnold) wrote: > Try this for your creation of the hidden variable > > print hidden( > -name => last_message_num, > -default => $message_num, > # -override=> 1 > ); > > If last_message_num is already defined in your CGI object, you'll have > to use the override option like you have it here, just uncomment it. > This one screwed me up all the time too - it's -name and -default, not > -name and -value. At least, that's how it shows in my CGI.pm > documentation. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]