{
    "content": [
        {
            "type": "text",
            "text": "# CPAN::Version (perldoc)\n\n**Summary:** CPAN::Version - utility functions to compare CPAN versions\n\n**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\"\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (16 lines)\n- **DESCRIPTION** (8 lines)\n- **LICENSE** (3 lines)\n\n## Full Content\n\n### NAME\n\nCPAN::Version - utility functions to compare CPAN versions\n\n### SYNOPSIS\n\nuse 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\n### DESCRIPTION\n\nThis 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\n### LICENSE\n\nThis program is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n\n"
        }
    ],
    "structuredContent": {
        "command": "CPAN::Version",
        "section": "",
        "mode": "perldoc",
        "summary": "CPAN::Version - utility functions to compare CPAN versions",
        "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\"",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 16,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "LICENSE",
                "lines": 3,
                "subsections": []
            }
        ],
        "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": []
            }
        }
    }
}