Data::Validate::Chemistry - Validate common chemical identifiers
use Data::Validate::Chemistry qw( is_CAS_number is_European_Community_number ); print "OK\n" if is_CAS_number( '7732-18-5' ); print "OK\n" if is_European_Community_number( '200-003-9' );
Data::Validate::Chemistry validates some of the common chemical identifiers, namely, CAS and European Community numbers.
Andrius Merkys, merkys AT cpan DOT org
merkys AT cpan DOT org
Copyright 2020 Andrius Merkys
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Data::Validate::Chemistry, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Validate::Chemistry
CPAN shell
perl -MCPAN -e shell install Data::Validate::Chemistry
For more information on module installation, please visit the detailed CPAN module installation guide.