The stupid question is the question not asked | |
PerlMonks |
Re: Re: Multi-Threaded Elevator Simulatorby samtregar (Abbot) |
on Aug 13, 2002 at 17:21 UTC ( [id://189882]=note: print w/replies, xml ) | Need Help?? |
Yes. The other way to require 5.8 is to write:
use 5.8.0; The problem with that is that v-strings (numbers with multiple dots) don't exist in Perl prior to 5.6.0. That means that instead of a nice message telling you to upgrade to 5.8 you get a syntax error. Check out what happens if you try to use just 5.8:
-sam PS: I cover this topic in greater depth in my just-published book, Writing Perl Modules for CPAN. Buy a copy and support the artist of this message!
In Section
Meditations
|
|