Typically it [package] would be the first declaration in a file to be included by the require or use operator. You can switch into a package in more than one place;