lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


It was thus said that the Great Dirk Laurie once stated:
> Op Vr. 12 Apr. 2019 om 21:38 het Sean Conner <sean@conman.org> geskryf:
> >
> > It was thus said that the Great Abhijit Nandy once stated:
> > > So why aren't the paths from where the modules are loaded, simply kept in a
> > > table mapped to the module name?
> >
> >   Because not all Lua modules have a path.
> 
> All modules loaded by 'require' and not found in package.loaded have a
> path. These are the ones of interest in situations where there may be
> uncertainty as to where the package was found.

  Except for those in package.preload.

  -spc (Which was the point of the email you replied to ... )