|
|
| XP is just a number | |
| PerlMonks |
Re: Re: Re: Simple Module Tutorialby John M. Dlugosz (Monsignor) |
| on Aug 06, 2001 at 04:18 UTC ( [id://102387]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Yea, I just posted a tutorial on VERSION. For compatibility with mixing decimals and v-strings, the built-in UNIVERSAL::require_version uses three decimal digits per part. If you have $MyModule::VERSION= 1.12; (a decimal number) and do a use MyModule 1.20.1 qw/bar/, it will tell you that the module 1.120 and you asked for 1.020, so that's OK. You expected 1.20 to be greater than 1.12, not-OK. —John
In Section
Tutorials
|
|
||||||||||||||||||||||||