Missing Something.

Ruud H.G. van Tol rvtol at isolution.nl
Mon Oct 1 19:37:48 BST 2007

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

More information about the london.pm mailing list