in reply to Re^3: Read excel column and compare with array
in thread Read excel column and compare with array

Sorry by mistake,I edited it .
  • Comment on Re^4: Read excel column and compare with array

Replies are listed 'Best First'.
Re^5: Read excel column and compare with array
by Corion (Patriarch) on Aug 08, 2017 at 09:45 UTC

    The return value of the s/// operator is the number of substitutions.

    Use the following instead:

    $variable =~ s/foo/bar/; say $variable;