Hello,
at line 121 of Merge.pm it could be safer to test exact key match, not subpatterns.
Right way: my @behaviors = grep { /^$value$/i } keys %{$self->{'behaviors'}};
Possible collisions: my @behaviors = grep { /$value/i } keys %{$self->{'behaviors'}};
Hope this help
Hannibal