Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^5: The simplest possible pattern match defeats me

by LanX (Sage)
on May 24, 2013 at 03:20 UTC ( #1035053=note: print w/replies, xml ) Need Help??


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)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1035053]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2021-10-18 13:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (74 votes). Check out past polls.

    Notices?