version
Native Rust implementation built into the interpreter. Runtime: P5. See original documentation for the full Perl reference.
Functions
bool
version object is true if any component is non-zero.
perl5: (bool checks numify, so version 0 is false, non-zero is true.
declare
force qv interpretation.
vutil.c:new_version with is_qv=true override.
import
called by use version.
Sets up the version stash and overload table. vutil.c:VERSION (the export function).
is_alpha
true if alpha/dev version (underscore).
vutil.c: checks “alpha” key in hash.
is_lax
check if valid lax version string.
vutil.c:is_lax_version. Simple heuristic: parseable with at least one digit.
is_qv
true if dotted-decimal form.
vutil.c: checks “qv” key in hash.
is_strict
check if valid strict version string.
vutil.c:is_strict_version.
new
vutil.c:new_version
nomethod
returns undef.
normal
return normalized v-string. vutil.c:vnormal.
numify
return numeric string. Overloaded via “(0+”.
vutil.c:vnumify
preamble
stringify
return string form. Overloaded via “(”“.
vutil.c:vstringify
vcmp
comparison operator.
vutil.c:vcmp. Returns -1/0/1 as IV.