Hi all,

        I'm just curious about something.  What's the difference between using

require 5.016;

or

use 5.016;

        The only thing I've seen is that if 5.16 isn't installed, 'use' outputs:

Perl v5.16 required--this is only v5.10.1, stopped at shop.cgi line 26.
BEGIN failed--compilation aborted at shop.cgi line 26.

while 'require' outputs this:

Perl v5.16 required--this is only v5.10.1, stopped at shop.cgi line 26.

        I know there's a difference when calling a module, but what about the 
version number?  Is it just semantics or is there something more to it?  My 
search hasn't revealed an answer. 

Thanks,
Frank

SurfShopCART 2.0  Coming Soon...
https://www.surfshopcart.com/store/demo/surfshop/shop.cgi


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to