SvFAKE lexicals in scope for all of the sub
[p5sagit/p5-mst-13.2.git] / pod / perlapi.pod
index 78e1044..772be5f 100644 (file)
@@ -4579,32 +4579,42 @@ Returns a pointer to the upgraded SV.
 =for hackers
 Found in file util.c
 
+=item vcmp
+
+Version object aware cmp.  Both operands must already have been 
+converted into version objects.
+
+       int     vcmp(SV *lvs, SV *rvs)
+
+=for hackers
+Found in file util.c
+
 =item vnumify
 
-Accepts a version (or vstring) object and returns the
-normalized floating point representation.  Call like:
+Accepts a version object and returns the normalized floating
+point representation.  Call like:
 
-    sv = vnumify(sv,SvRV(rv));
+    sv = vnumify(rv);
 
-NOTE: no checking is done to see if the object is of the
-correct type (for speed).
+NOTE: you can pass either the object directly or the SV
+contained within the RV.
 
-       SV*     vnumify(SV *sv, SV *vs)
+       SV*     vnumify(SV *vs)
 
 =for hackers
 Found in file util.c
 
 =item vstringify
 
-Accepts a version (or vstring) object and returns the
-normalized representation.  Call like:
+Accepts a version object and returns the normalized string
+representation.  Call like:
 
-    sv = vstringify(sv,SvRV(rv));
+    sv = vstringify(rv);
 
-NOTE: no checking is done to see if the object is of the
-correct type (for speed).
+NOTE: you can pass either the object directly or the SV
+contained within the RV.
 
-       SV*     vstringify(SV *sv, SV *vs)
+       SV*     vstringify(SV *vs)
 
 =for hackers
 Found in file util.c