PONAPI::Names - Member names validation utility
version 0.001002
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
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.
Mickey Nasriachi <mickey@cpan.org>
Stevan Little <stevan@cpan.org>
Brian Fraser <hugmeir@cpan.org>
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.
To install PONAPI::Tools, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PONAPI::Tools
CPAN shell
perl -MCPAN -e shell install PONAPI::Tools
For more information on module installation, please visit the detailed CPAN module installation guide.