CPAN::Version − utility functions to compare CPAN versions


  use CPAN::Version;
  CPAN::Version−>vgt("1.1","1.1.1");    # 1 bc. 1.1 > 1.001001
  CPAN::Version−>vlt("1.1","1.1");      # 0 bc. 1.1 not < 1.1
  CPAN::Version−>vcmp("1.1","1.1.1");   # 1 bc. first is larger
  CPAN::Version−>vcmp("1.1.1","1.1");   # −1 bc. first is smaller
  CPAN::Version−>readable(v1.2.3);      # "v1.2.3"
  CPAN::Version−>vstring("v1.2.3");     # v1.2.3
  CPAN::Version−>float2vv(1.002003);    # "v1.2.3"


This module mediates between some version that perl sees in a package and the version that is published by the CPAN indexer.

It’s only written as a helper module for both CPAN .pm and CPANPLUS .pm.

As it stands it predates but has the same goal: make version strings visible and comparable.


This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

More Linux Commands

XkbAddGeomColor(3) - Add one color name to an existing keybo
XkbAddGeomColor.3 - Xkb provides functions to add a single new element to the top-level keyboard geometry. In each case the num_ * fields of the corresponding s

mrd(1) - remove an MSDOS subdirectory - Linux manual page...
The mrd command is used to remove an MS-DOS subdirectory. Its syntax is: mrd [-v] msdosdirectory [ msdosdirectories... ] Mrd removes a directory from an MS-DOS

inkview(1) - slideshow program which uses SVG files.........
Inkview is a slideshow program which uses SVG files. One or more FILES may be specified on the command-line and the slideshow will consist of the files supplied

rmiregistry-java-1.6.0-openjdk(1) - The Java Remote Object R
rmiregistry-java-1.6.0-openjdk.1 - The rmiregistry command creates and starts a remote object registry on the specified port on the current host. If port is omi

cexpl(3) - complex exponential function - Linux manual page
The function calculates e (2.71828..., the base of natural logarithms) raised to the power of z. One has: cexp(I * z) = ccos(z) + I * csin(z) VERSIONS These fun

SDL_Color(3) - Format independent color description.........
SDL_Color describes a color in a format independent way. You can convert a SDL_Color to a pixel value for a certain pixel format using SDL_MapRGB. SEE ALSO SDL_

vlock-main(8) lock current virtual console - Linux man page
vlock-main is part of vlock-main(8), the Virtual Console locking program for Linux. It locks the current session and will only exit if the current user can auth

CIRCLEQ_HEAD(3) implementations of lists, tail queues, and c
These macros define and operate on three types of data structures: lists, tail queues, and circular queues. All three structures support the following functiona

pam_open_session(3) - start PAM session management (ManPage)
The pam_open_session function sets up a user session for a previously successful authenticated user. The session should later be terminated with a call to pam_c

glMultiTexCoord3fvARB(3gl) - set the current texture coordin
glMultiTexCoordARB specifies texture coordinates in one, two, three, or four dimensions. glMultiTexCoord1ARB sets the current texture coordinates to (s, 0, 0, 1

locale(5) - Describes a locale definition file (Man Page)...
The locale definition file contains all the information that the localedef(1) command needs to convert it into the binary locale database. The definition files

gnutls_privkey_sign_hash(3) - API function - Linux man page
This function will sign the given hashed data using a signature algorithm supported by the private key. Signature algorithms are always used together with a has

We can't live, work or learn in freedom unless the software we use is free.