in reply to Re: Re: Installing a newer version of a module without replacing the existing one.
in thread Installing a newer version of a module without replacing the existing one.

The VERSION argument does not specify which version of a module to use, from multiple installed versions. Rather, as this snippet of documentation states: after the module has been loaded (which will be the first occurence of the module in @INC, regardless of VERSION), Perl will die if $Module::VERSION is less than the VERSION argument.

This is just like putting require 5.005; in your Perl script. It won't change which perl executable is used to run your script; it will simply die if the executable used isn't a recent enough version.

  • Comment on Re: Re: Re: Installing a newer version of a module without replacing the existing one.
  • Download Code