Renée Bäcker > Data-Validate-WithYAML-Plugin-IBAN > Data::Validate::WithYAML::Plugin::IBAN

Download:
Data-Validate-WithYAML-Plugin-IBAN-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

Data::Validate::WithYAML::Plugin::IBAN - check whether a given value is a valid IBAN

VERSION ^

version 0.02

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

DESCRIPTION ^

Check if the given value is a valid IBAN

AUTHOR ^

Renee Baecker <reneeb@cpan.org>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2013 by Renee Baecker.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)
syntax highlighting: