The stupid question is the question not asked | |
PerlMonks |
comment on |
( [id://3333]=superdoc: 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 reply to Re: Re: Multi-Threaded Elevator Simulator
by samtregar
|
|