http://qs321.pair.com?node_id=10992


in reply to How to check value of checkbox on form submit?

You might want to take a look at the exists function. It does exactly what you're looking for: tells you if a hash key exists, regardless of what its value is.
if(exists $input{'checkbox1'}) {
This will work regardless of what the value of the checkbox is, as the hash key 'checkbox1' will not exist unless the checkbox is checked.