in reply to Re: CGI -Perl problem
in thread Validating ISBN numbers?
my @g = split;
Careful there - you just allowed stuff like this invalid ISBM through - ISBN 0--06----096975-1. Perhaps you should use:
my @g = split / /;
btw, this is valid: ISBN 0-06-096975-X (note the 'X').
-- Dan
|
|---|