in reply to Credit Card Validation in Perl

To do credit card number validation in a JavaScript-enabled browser, check here for an implementation of the (well-known) algorithm. If you don't go that route, it's still a readable implementation to review.