{
    "mode": "perldoc",
    "parameter": "CPAN::Version",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/CPAN%3A%3AVersion/json",
    "generated": "2026-06-03T13:59:05Z",
    "synopsis": "use CPAN::Version;\nCPAN::Version->vgt(\"1.1\",\"1.1.1\");    # 1 bc. 1.1 > 1.001001\nCPAN::Version->vlt(\"1.1\",\"1.1\");      # 0 bc. 1.1 not < 1.1\nCPAN::Version->vcmp(\"1.1\",\"1.1.1\");   # 1 bc. first is larger\nCPAN::Version->vcmp(\"1.1.1\",\"1.1\");   # -1 bc. first is smaller\nCPAN::Version->readable(v1.2.3);      # \"v1.2.3\"\nCPAN::Version->vstring(\"v1.2.3\");     # v1.2.3\nCPAN::Version->float2vv(1.002003);    # \"v1.2.3\"",
    "sections": {
        "NAME": {
            "content": "CPAN::Version - utility functions to compare CPAN versions\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use CPAN::Version;\n\nCPAN::Version->vgt(\"1.1\",\"1.1.1\");    # 1 bc. 1.1 > 1.001001\n\nCPAN::Version->vlt(\"1.1\",\"1.1\");      # 0 bc. 1.1 not < 1.1\n\nCPAN::Version->vcmp(\"1.1\",\"1.1.1\");   # 1 bc. first is larger\n\nCPAN::Version->vcmp(\"1.1.1\",\"1.1\");   # -1 bc. first is smaller\n\nCPAN::Version->readable(v1.2.3);      # \"v1.2.3\"\n\nCPAN::Version->vstring(\"v1.2.3\");     # v1.2.3\n\nCPAN::Version->float2vv(1.002003);    # \"v1.2.3\"\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This module mediates between some version that perl sees in a package and the version that is\npublished by the CPAN indexer.\n\nIt's only written as a helper module for both CPAN.pm and CPANPLUS.pm.\n\nAs it stands it predates version.pm but has the same goal: make version strings visible and\ncomparable.\n",
            "subsections": []
        },
        "LICENSE": {
            "content": "This program is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
            "subsections": []
        }
    },
    "summary": "CPAN::Version - utility functions to compare CPAN versions",
    "flags": [],
    "examples": [],
    "see_also": []
}