Algorithm-CheckDigits
view release on metacpan or search on metacpan
cgi-bin/checkdigits.cgi view on Meta::CPAN
}
else {
$ok = "$number is not valid with algorithm $algorithm";
}
}
print header(),
start_html(),
start_form(),
textfield('number'),
popup_menu(-name => 'algorithm',
-values => \@all_algorithms,
-labels => \%all_labels),
submit('check'),
end_form(),
$ok,
end_html(),
"\n";
exit 0;
( run in 1.236 second using v1.01-cache-2.11-cpan-364913b4093 )