in reply to HTML Form retaining values

Can you explain what you are trying to do a little more clearly please?

Replies are listed 'Best First'.
Re: Re: HTML Form retaining values
by Anonymous Monk on Oct 03, 2003 at 17:05 UTC
    As stated in the original post, this is just a sample. I have another much more detailed script that does the addition. This is just a demo of the problem.

    As for strict, I have never had good luck with it. I know what everyone says, but I chose not to use it for my simple scripts.

    Regarding the CGI module, I have no idea why it wasn't oroginally used as I am modifying code that someone else wrote.

    Again, any assistance is definetly appreciated.

      I just wanted to let you know that it is well worth persevering with strict. It is a real pain when you start and the temptation to switch it off is almost irresistable

      However it does become easier as you get used to it and the main advantage for me is that when you get to the end of it you have a script which is more robust than might otherwise be the case. Sure, your script without strict might work well for what you have in mind, but that is often at variance with what happens out in the field, and odd, unexpected things can happen if your script isn't tight enough.

      And I haven't even mentioned taint... :)

      As for strict, I have never had good luck with it. I know what everyone says, but I chose not to use it for my simple scripts.
      Then you should really stop asking for help from other people, cause the first thing they'll all keep telling you is to use strict, because strict help you avoid dumb mistakes.