Re: redundant code

2001-10-31 Thread Curtis Poe
David, What I *think* you are asking is how to assign default values to form parameters and then, after reading all form values, have special handling of those parameters that have those default values. Your question is a bit vague (or maybe it's me?), so I'm just guessing. I'll respond by f

redundant code

2001-10-31 Thread David Gilden
Good afternoon, Can some one point out where I am off? use CGI qw/:standard/; @fields = param(); # I think it returns a list of all the fields, # maybe we want to inslist a hash to get the values. foreach (@fields){ if ( $_ ~= /(|\?+|\d)/ ) { # match "" or ??? or 0 # do something bl