NAME

Sah::SchemaR::str_or_re - String or regex (if string is of the form `/.../`)

VERSION

This document describes version 0.006 of Sah::SchemaR::str_or_re (from Perl distribution Sah-Schemas-Str), released on 2022-06-08.

DESCRIPTION

This module is automatically generated by Dist::Zilla::Plugin::Sah::Schemas during distribution build.

A Sah::SchemaR::* module is useful if a client wants to quickly lookup the base type of a schema without having to do any extra resolving. With Sah::Schema::*, one might need to do several lookups if a schema is based on another schema, and so on. Compare for example Sah::Schema::poseven vs Sah::SchemaR::poseven, where in Sah::SchemaR::poseven one can immediately get that the base type is int. Currently Perinci::Sub::Complete uses Sah::SchemaR::* instead of Sah::Schema::* for reduced startup overhead when doing tab completion.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Sah-Schemas-Str.

SOURCE

Source repository is at https://github.com/perlancar/perl-Sah-Schemas-Str.

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, and sometimes one or two other Dist::Zilla plugin and/or Pod::Weaver::Plugin. Any additional steps required beyond that are considered a bug and can be reported to me.

COPYRIGHT AND LICENSE

This software is copyright (c) 2022, 2020 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-Schemas-Str

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.