http://www.perlmonks.org?node_id=102370


in reply to Simple Module Tutorial

Very nice, getting everything into a short page like that. But, I have a few comments:

Are you sure you want to make $VERSION a float, rather than a v-string? And if so, illustrate the three-digit convention (e.g. 5.005_001 for version 5.5.1).

I'm also shocked that your pm file doesn't use strict!

I would also suggest adding a comment to the 1; line, saying that this means "loaded OK".

—John