This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Where possible, use SvIV instead of SvIVX, SvNV instead of SvNVX,
[perl5.git] / pp_ctl.c
index 6f91d02..861e8a5 100644 (file)
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -3276,7 +3276,7 @@ PP(pp_require)
                        || (*name == ':' && name[1] != ':' && strchr(name+2, ':'))
 #endif
                  ) {
-                   const char *dir = SvPVx_nolen_const(dirsv);
+                   const char *dir = SvPV_nolen_const(dirsv);
 #ifdef MACOS_TRADITIONAL
                    char buf1[256];
                    char buf2[256];