is_qv#
Tell whether a version object is in dotted-integer form.
Synopsis#
if ($v->is_qv) { ... }
Returns a true value for objects built via declare or qv, or
from a string with two or more dots (e.g. "1.2.3"). Returns
false for decimal versions like "1.023".
What you get back#
A boolean: 1 if the qv flag is set on the object, the empty
string otherwise.
Examples#
version->declare("v1.2.3")->is_qv; # 1
version->new("1.023")->is_qv; # ""
version->new("1.2.3")->is_qv; # 1 — three components implies qv
Differences from upstream#
Fully compatible with upstream version 0.9929.
See also#
is_alpha— the other introspection flagdeclare— the common way to set theqvflagnormal— the stringificationis_qvobjects choose for""