This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
typo in change#3768
[perl5.git] / pp_hot.c
index fd2d79a..1956d76 100644 (file)
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -2507,7 +2507,7 @@ PP(pp_method)
     SV* sv = TOPs;
 
     if (SvROK(sv)) {
-       SV* rsv = SvRV(rsv);
+       SV* rsv = SvRV(sv);
        if (SvTYPE(rsv) == SVt_PVCV) {
            SETs(rsv);
            RETURN;