App-ValidateSortCode

 view release on metacpan or  search on metacpan

lib/App/ValidateSortCode.pm  view on Meta::CPAN

package App::ValidateSortCode;

$App::ValidateSortCode::VERSION   = '0.01';
$App::ValidateSortCode::AUTHORITY = 'cpan:MANWAR';

=head1 NAME

App::ValidateSortCode - App to validate bank sort code.

=head1 VERSION

Version 0.01

=cut

use 5.006;
use utf8::all;
use Data::Dumper;
use BankAccount::Validator::UK;
use App::ValidateSortCode::Option;
use Moo;
use namespace::autoclean;
use MooX::Options;
with 'App::ValidateSortCode::Option';

our $DEFAULT_COUNTRY = 'uk';

=head1 DESCRIPTION

It provides command line interface to the distribution L<BankAccount::Validator::UK>.
The distribution installs script C<validate-sort-code> for you to play with.

=head1 SYNOPSIS

You can list all command line options by giving C<-h> flag.

    USAGE: validate-sort-code [-h] [long options...]

        --country=String         Country code. Default is UK.
        --sort_code=String       Sort Code (required).
        --account_number=String  Bank Account Number (required).

        --usage                  show a short help message
        -h                       show a compact help message
        --help                   show a long help message
        --man                    show the manual

=head1 SUPPORTED BANKS

=head2 UNITED KINGDOM

=over 4

=item * Allied Irish

=item * Bank of England

=item * Bank of Ireland

=item * Bank of Scotland

=item * Barclays

=item * Bradford and Bingley Building Society

=item * Charity Bank

=item * Citibank

=item * Clear Bank

=item * Clydesdale

=item * Contis Financial Services

=item * Co-Operative Bank

=item * Coutts

=item * First Trust

=item * Halifax



( run in 6.117 seconds using v1.01-cache-2.11-cpan-56fb94df46f )