in reply to Module Version Checking - Checking Multiple Installations of the Module
use does a require, which finds the first occourance of the module in @INC, and then calls the module's import, passing it the approps args. The import can then do whatever it wants.
In other words, the '1.005' isn't magical here, it just gets passed to Mime::Types::import, which can do with it what it will. I don't think require_version has anything in to to keep looking if $Mime::Types::VERSION is too low.
|
|---|