For some reason, something in the back of my head keeps telling me that the code should be written as:
Code:
if ((keys %in) && (!$in{'product'})) {
&process_form;
}
I think the "!=0" part isn't really needed but it doesn't hurt. It could also be written as (someone correct me if I am wrong):
Code:
((keys %in) and (!$in{'product'}) and &process_form);