NAME
Data::Validate::WithYAML::Plugin::IBAN - check whether a given value is a valid IBAN
VERSION
version 0.04
SYNOPSIS
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
METHODS
check
This checks if a given value is a valid IBAN. More information about the International Bank Account Number is available on Wikipedia.
Data::Validate::WithYAML::Plugin::IBAN
uses Algorithm::CheckDigits for the IBAN verification.
AUTHOR
Renee Baecker <reneeb@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2015 by Renee Baecker.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)