Clooney, David schreef:
> if ($crxfnp02_users =~ m/$chester_userid /i ) {
I think you mean something like:
if ($array[0] =~ m/^\Q$string\E$/i) {
, which is similar to:
if (lc($array[0]) eq lc($string)) {
, or maybe you need something like
if (grep lc($_) eq lc($string), @array) {
See also `perldoc -f index`. And the -T in `perldoc perlrun`.
--
Groet, Ruud