in reply to Validating ISBN numbers?
Perhaps if you actually showed what code you've written so far . . .
Or just use Business::ISBN that's already written (either directly or as inspiration).