Message-ID: <
20001204121726.B52976@plum.flirble.org>
Make '$i = ""; $i++' to produce true IVs without a hint of NVs.
p4raw-id: //depot/perl@7974
}
if (!(flags & SVp_POK) || !*SvPVX(sv)) {
if ((flags & SVTYPEMASK) < SVt_PVNV)
- sv_upgrade(sv, SVt_NV);
- SvNVX(sv) = 1.0;
- (void)SvNOK_only(sv);
+ sv_upgrade(sv, SVt_IV);
+ (void)SvIOK_only(sv);
+ SvIVX(sv) = 1;
return;
}
d = SvPVX(sv);