![]() |
|
"be consistent" | |
PerlMonks |
Re: Simple Module Tutorialby John M. Dlugosz (Monsignor) |
on Aug 06, 2001 at 04:30 UTC ( #102370=note: print w/replies, xml ) | Need Help?? |
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
In Section
Tutorials
|
|