summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorRick Delaney <rick@consumercontact.com>2007-02-21 11:53:16 -0500
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-02-23 18:19:32 +0000
commitd11ee47c025353980152bb1032c6f7c7192a7260 (patch)
treedef7a75a7fadff497433dd2c6bed0097207b30f8 /gv.c
parent608a105b876e178af7d740d5bad843bf3cce4787 (diff)
downloadperl-d11ee47c025353980152bb1032c6f7c7192a7260.tar.gz
Re: [perl #41546] perl 5.8.x bug: overloaded 'eq' does not work with 'nomethod'
Message-ID: <20070221215316.GF5646@bort.ca> p4raw-id: //depot/perl@30383
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gv.c b/gv.c
index 3e428a7700..e03521e947 100644
--- a/gv.c
+++ b/gv.c
@@ -1871,6 +1871,19 @@ Perl_amagic_call(pTHX_ SV *left, SV *right, int method, int flags)
} else {
not_found: /* No method found, either report or croak */
switch (method) {
+ case lt_amg:
+ case le_amg:
+ case gt_amg:
+ case ge_amg:
+ case eq_amg:
+ case ne_amg:
+ case slt_amg:
+ case sle_amg:
+ case sgt_amg:
+ case sge_amg:
+ case seq_amg:
+ case sne_amg:
+ postpr = 0; break;
case to_sv_amg:
case to_av_amg:
case to_hv_amg: