in reply to
Pattern matching with a variable
if (index(uc($library), uc($entry)) < 0)
or
if ($library =~ /\Q$entry\E/i)
Comment on
Re: Pattern matching with a variable
Select
or
Download
Code
In Section
Seekers of Perl Wisdom