http://www.perlmonks.org?node_id=370397


in reply to Re^2: Is dynamic loading of pm's a bad thing?
in thread Is dynamic loading of pm's a bad thing?

What it does is searches for a given module in the library path i.e it will find the path to the blah::blah module, or return false. Under the covers it will munge blah::blah into the appropriate format. And yes, you don't have to worry that $mod is user defined, if it exists in the path, you will get that path returned, otherwise, false.
HTH

_________
broquaint

  • Comment on Re^3: Is dynamic loading of pm's a bad thing?