<<

NAME

C4::Input - Miscellaneous sanity checks

SYNOPSIS

  use C4::Input;

DESCRIPTION

This module provides functions to see whether a given library card number or ISBN is valid.

FUNCTIONS

checkdigit
  $valid = &checkdigit($cardnumber $nounique);

Takes a card number, computes its check digit, and compares it to the checkdigit at the end of $cardnumber. Returns a true value iff $cardnumber has a valid check digit.

AUTHOR

Koha Development Team <http://koha-community.org/>

<<