Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    Business::BankAccount::NZ 0.02

    Download button

    No screenshots available
    Downloads: 321  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Simon Taylor | More programs
    Perl Artistic License / FREE
    December 1st, 2009, 01:13 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Business::BankAccount::NZ description

    Validates New Zealand bank account numbers

    Business::BankAccount::NZ is a Perl module that provides validation on New Zealand bank account numbers.

    The extent of the validation is simply that the account number is checked to ensure that it conforms with the notion of an account number laid out in the 'Bank Account Number Check Digit Validation Routines' brochure prepared by the Bank of New Zealand, dated 27 October, 1999.

    Thus the module does not tell you whether or not a given bank account number is an actual account known to the bank, just that it is a valid number according to their rules.

    The module uses validation code developed by John Bolland.

    SYNOPSIS

     use Business::BankAccount::NZ;
     
     # Returns a hash table with bank data in it (if specified)
     my $nz = Business::BankAccount::NZ->new(
     bank_no => '030510',
     account_no => '072049700'
     );
     
     # Or set the bank and account numbers independantly of new()
     my $nz = Business::BankAccount::NZ->new();
     $nz->set_bank_no('086523');
     $nz->set_account_no('1954512001');
     
     # Either way, you'd validate the account number with...
     $nz->validate() or die "$nz->{error_string}";
     
     print $nz->{error_string} if ($nz->{error});
     
     print "The bank name is " . $nz->{bank_name} . "
    ";



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    bank account | account numbers validation | Perl module | bank | account | numbers

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM