Allow option to treat barewords at start of Unix paths as simple words rather than...
[p5sagit/p5-mst-13.2.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;