In which order are the paths in @INC searched for modules? More specifically, if you have two nearly identical modules (where one is version 1.1 and the other 1.2, for example) in different areas in your @INC, and 'print joint("\n",@INC) generates the following list...

/path/to/module (v1.1)
/path/to/module (v1.2)

...which version will Perl end up ultimately loading at 'use module'?

It seems to me that Perl is either going to search through the list exhaustivly, using the last instance of the module found... or it will stop with the first succesfful match.


Thanks for any help anyone can offer!
-Andrew

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


Reply via email to