Validate::NPI - Validates National Provider Identifier (NPI) numbers
version 0.01
$fValidated=validate_npi('1234567893'); # will return 1 (true)
validate_npi($value.$msg)
Call with a scalar value for validation and an optional array reference for an explanation of why validation failed. Returns 1 (true) if the NPI validates correctly.
Stephen Flitman <sflitman@xenoscience.com>
This software is copyright (c) 2012 by Stephen Flitman.
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 Validate::NPI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Validate::NPI
CPAN shell
perl -MCPAN -e shell install Validate::NPI
For more information on module installation, please visit the detailed CPAN module installation guide.