{
    "mode": "perldoc",
    "parameter": "Types::Common::String",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Types%3A%3ACommon%3A%3AString/json",
    "generated": "2026-09-24T20:37:56Z",
    "sections": {
        "NAME": {
            "content": "Types::Common::String - drop-in replacement for MooseX::Types::Common::String\n",
            "subsections": []
        },
        "STATUS": {
            "content": "This module is covered by the Type-Tiny stability policy.\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "A drop-in replacement for MooseX::Types::Common::String.\n",
            "subsections": [
                {
                    "name": "Types",
                    "content": "The following types are similar to those described in MooseX::Types::Common::String.\n\n*   SimpleStr\n\n*   NonEmptySimpleStr\n\n*   NumericCode\n\n*   LowerCaseSimpleStr\n\n*   UpperCaseSimpleStr\n\n*   Password\n\n*   StrongPassword\n\n*   NonEmptyStr\n\n*   LowerCaseStr\n\n*   UpperCaseStr\n\nThis module also defines some extra type constraints not found in MooseX::Types::Common::String.\n\n*   StrLength[`min, `max]\n\nType constraint for a string between min and max characters long. For example:\n\nStrLength[4, 20]\n\nIt is sometimes useful to combine this with another type constraint in an intersection.\n\n(LowerCaseStr) & (StrLength[4, 20])\n\nThe max length can be omitted.\n\nStrLength[10]   # at least 10 characters\n\nLengths are inclusive.\n\n*   DelimitedStr[`delimiter, `type, `min, `max, `ws]\n\nParameterized constraint for delimited strings, such as comma-delimited.\n\nDelimitedStr[\",\", Int, 1, 3] will allow between 1 and 3 integers, separated by commas. So\n\"1,42,-999\" will pass the type constraint, but \"Hello,45\" will fail.\n\nThe ws parameter allows optional whitespace surrounding the delimiters, as well as optional\nleading and trailing whitespace.\n\nThe type, min, max, and ws paramaters are optional.\n\nParameterized DelimitedStr type constraints will automatically have a coercion from\nArrayRef[`type] which uses \"join\" to join by the delimiter. The plain unparameterized type\nconstraint DelimitedStr has a coercion from ArrayRef[Str] which joins the strings using the\nlist separator $\" (which is a space by default).\n"
                }
            ]
        },
        "BUGS": {
            "content": "Please report any bugs to <https://github.com/tobyink/p5-type-tiny/issues>.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Types::Standard, Types::Common::Numeric.\n\nMooseX::Types::Common, MooseX::Types::Common::Numeric, MooseX::Types::Common::String.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Toby Inkster <tobyink@cpan.org>.\n",
            "subsections": []
        },
        "COPYRIGHT AND LICENCE": {
            "content": "This software is copyright (c) 2013-2014, 2017-2023 by Toby Inkster.\n\nThis is free software; you can redistribute it and/or modify it under the same terms as the Perl\n5 programming language system itself.\n",
            "subsections": []
        },
        "DISCLAIMER OF WARRANTIES": {
            "content": "THIS PACKAGE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\nWITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.\n",
            "subsections": []
        }
    },
    "summary": "Types::Common::String - drop-in replacement for MooseX::Types::Common::String",
    "flags": [],
    "examples": [],
    "see_also": []
}