NAME
Sah::SchemaBundle::Identifier - Sah schemas related to identifiers
VERSION
This document describes version 0.001 of Sah::SchemaBundle::Identifier (from Perl distribution Sah-SchemaBundle-Identifier), released on 2025-11-11.
SAH SCHEMAS
The following schemas are included in this distribution:
-
A string that starts with [A-Za-z_] followed by zero of more [A-Za-z0-9_].
Identifier is an often-used definition for relatively safe names you can put into file name, tack onto variable name, and so on.
-
Identifier with a maximum length of 127 characters.
Just like
identifier, but limited to 127 characters. -
Identifier with a maximum length of 15 characters.
Just like
identifier, but limited to 15 characters. -
Identifier with a maximum length of 255 characters.
Just like
identifier, but limited to 255 characters. Can be used, e.g. for file names in Unix filesystem. -
Identifier with a maximum length of 31 characters.
Just like
identifier, but limited to 31 characters. -
Identifier with a maximum length of 63 characters.
Just like
identifier, but limited to 63 characters. -
A string that starts with [a-z_] followed by zero of more [a-z0-9_].
Just like
identifier, but must contain lowercase [a-z] only. -
Lowercase Identifier with a maximum length of 127 characters.
Just like
identifier::lc, but limited to 127 characters. -
Lowercase Identifier with a maximum length of 15 characters.
Just like
identifier::lc, but limited to 15 characters. -
Lowercase Identifier with a maximum length of 255 characters.
Just like
identifier::lc, but limited to 255 characters. -
Lowercase Identifier with a maximum length of 31 characters.
Just like
identifier::lc, but limited to 31 characters. -
Lowercase Identifier with a maximum length of 63 characters.
Just like
identifier::lc, but limited to 63 characters. -
A string that starts with [A-Z_] followed by zero of more [A-Z0-9_].
Just like
identifier, but must contain uppercase [A-Z] only. -
Uppercase Identifier with a maximum length of 127 characters.
Just like
identifier::uc, but limited to 127 characters. -
Uppercase Identifier with a maximum length of 15 characters.
Just like
identifier::uc, but limited to 15 characters. -
Uppercase Identifier with a maximum length of 255 characters.
Just like
identifier::uc, but limited to 255 characters. -
Uppercase Identifier with a maximum length of 31 characters.
Just like
identifier::uc, but limited to 63 characters. -
Uppercase Identifier with a maximum length of 63 characters.
Just like
identifier::uc, but limited to 63 characters.
DESCRIPTION
"Identifiers" are often used as safe strings for names.
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/Sah-SchemaBundle-Identifier.
SOURCE
Source repository is at https://github.com/perlancar/perl-Sah-SchemaBundle-Identifier.
SEE ALSO
Sah - schema specification
Data::Sah - Perl implementation of Sah
AUTHOR
perlancar <perlancar@cpan.org>
CONTRIBUTING
To contribute, you can send patches by email/via RT, or send pull requests on GitHub.
Most of the time, you don't need to build the distribution yourself. You can simply modify the code, then test via:
% prove -l
If you want to build the distribution (e.g. to try to install it locally on your system), you can install Dist::Zilla, Dist::Zilla::PluginBundle::Author::PERLANCAR, Pod::Weaver::PluginBundle::Author::PERLANCAR, and sometimes one or two other Dist::Zilla- and/or Pod::Weaver plugins. Any additional steps required beyond that are considered a bug and can be reported to me.
COPYRIGHT AND LICENSE
This software is copyright (c) 2025 by perlancar <perlancar@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Sah-SchemaBundle-Identifier
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.