this is just one line of code, but i think it's where the problem is...maybe. if $value is all alpha it works fine, and returns a list of items, but if it's alpha-numeric it doesn't return anything. is there something obviously wrong with this line? (thank you)
if (($ref->{prodname} =~ ($value)) || ($ref->{key1} =~ ($value)))