in reply to Re: Multiple CGI Objects w/ Same Name in thread Multiple CGI Objects w/ Same Name
It depends on what you need to do with the values. Basic assignment to a scalar ( $var ) will lose anything that was in there before, so if you had $var = "first" and then did $var = "second" you just lost the "first" info. In your example, there's no way to conmpare the two. So if you need to keep the info, use another variable for other info.. If you don't care what was in the variable before, then overwriting it is fine...
-Syn0
|