Data::Validate::WithYAML::Plugin::IBAN - check whether a given value is a valid IBAN
version 0.02
Your test.pl:
use Data::Validate::WithYAML; my $validator = Data::Validate::WithYAML->new( 'validate.yml' ); my %params = ( iban => 'DE013958219385182', # more user input ); my %errors = $validator->validate( \%params );
Your validate.yml:
--- bank_account: type: required plugin: IBAN
Check if the given value is a valid IBAN
Renee Baecker <reneeb@cpan.org>
This software is Copyright (c) 2013 by Renee Baecker.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Data::Validate::WithYAML::Plugin::IBAN, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Validate::WithYAML::Plugin::IBAN
CPAN shell
perl -MCPAN -e shell install Data::Validate::WithYAML::Plugin::IBAN
For more information on module installation, please visit the detailed CPAN module installation guide.