in reply to Perl treats period as space in string
Maybe you just want to do
use feature qw{ fc }; my $phrase = fc 'club.market'; if (-1 != index fc $string, $phrase) { ... [download]