in reply to Business::ISSN - where is is_valid_checksum
Navigating to CPAN and searching for Business::ISSN reveals that this module was uploaded nearly 10 years ago. However, there are no bugs reported against it. Well, perhaps no one (other than the author) has ever tried to use the module. This is reasonable since a person has to have the need for such a thing, then the person has to search and find it.
But, how on earth has it passed the rigors of CPAN testing? It has 46 passes and no fails on a variety of Perl versions and platforms.
So, I downloaded and installed this module myself. Sure enough, it passes its tests and installs cleanly. Curious.
Hmm, let me take a look at what is checked. The one and only exportable function is not checked!
CaMelRyder, please report this as a bug on CPAN. Perhaps someone came before you and did not take the time to do so.
Morals of this story:
- Testing, testing, testing.
- Scrutinize the source code.
- Be a good citizen and report bugs.