pkg_mkIndex
dir pattern
Create an index file for autoloading packages. Dir is the directory containing the files. Supply one or more glob patterns to match the files in the directory to be indexed for autoloading.
Dir