http://www.perlmonks.org?node_id=1035053


in reply to Re^4: The simplest possible pattern match defeats me
in thread The simplest possible pattern match defeats me

Hi logan

> Yes, the fact that the error is for a failed pattern match and not a failed eq is doubly confusing

I don't think that 5.8.8 had different error msgs. (you could check)

Anyway is it possible that someone overloaded eq with a routine doing a regex-match?

Is the value in question maybe an object? What does ref return?

Cheers Rolf

( addicted to the Perl Programming Language)