Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: proxying overloads: returns seem to lieby Velaki (Chaplain) |
on Sep 10, 2004 at 19:31 UTC ( [id://390167]=note: print w/replies, xml ) | Need Help?? |
I took a look at the code, and added to the code. When I ran the code, I got which seems to mean that the eq has failed. However, when I replace eq with =~, the code appears to work as you expected; however, then it appears to bypass the nomethod overload.
Likewise with substituting !~ for ne. Wish I could be of more help,-v
"Perl. There is no substitute."
In Section
Seekers of Perl Wisdom
|
|