[ed@litmusgreen.com - Mon Jan 12 12:55:57 2004]:
Show quoted text> If an ISBN object is created with an ISBN that has embedded whitespace
> it will validate:
Yes, that is correct, and it is documented in the explanation for
new(). The new() method accepts a variety of formats because that
is what I found in the real world. I originally wrote this module
to take a bunch of hand-typed ISBNs, validate them, then spit out
the correct format. Some original input had hyphens, some spaces,
and some even had goofy 8-bit characters.
Does this cause a problem for you? You could always check the
input against the output to see if they were the same if that is
what you are worried about.