On 7/5/07, Robert Hicks <[EMAIL PROTECTED]> wrote:
When I see code that starts with:

require 5.6.0;

Does that mean that the version of Perl can be 5.6.0 and above or that
it *has to be* 5.6.0?

Robert

from perldoc -f require
              VERSION may be either a numeric argument such as 5.006, which
              will be compared to $], or a literal of the form v5.6.1, which
              will be compared to $^V (aka $PERL_VERSION).  A fatal error is
              produced at run time if VERSION is greater than the version of
              the current Perl interpreter.  Compare with "use", which can do
              a similar check at compile time.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to