foreach $ref ( @products ) { if ($ref->{prodname} =~ ($value)) { [download]
In reply to case insensitive: Which tree to bark up? by malaga