The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

PONAPI::Names - Member names validation utility

VERSION

version 0.001002

SYNOPSIS

    use PONAPI::Names 'check_name';

    check_name('a');    # Valid
    check_name('a-');   # Invalid
    check_name('-a');   # Invalid
    check_name('a-b');  # Valid
    check_name('a b');  # Valid

DESCRIPTION

This module implements the member name restrictions from the {json:api} specification; it can be used by repositories to implement strict member names, if desired.

AUTHORS

  • Mickey Nasriachi <mickey@cpan.org>

  • Stevan Little <stevan@cpan.org>

  • Brian Fraser <hugmeir@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Mickey Nasriachi, Stevan Little, Brian Fraser.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.