in reply to Re: Doubts on "Nesting packages" and "typeglobs"
in thread Doubts on "Nesting packages" and "typeglobs"

to expand on this, you cannot "nest" packages in the sense of C++ nested classes. At any given point, you only have a single package in which the current "compilation unit" exists. As said above, other than clarity, there is little to no value in the actual nesting, generally done through organizing files in sub-directories with the same name as the parent module, unless you are doing something absurdly complex with symbol tables (Don't).

perlmod would give you a start on globs, but ultimately, the best answer, IMO, is that you shouldn't need to use them for anything until you get a much better knowledge of Perl. While fundamental, they are not a base part of the language, in the way that local variables or functions are.

  • Comment on Re^2: Doubts on "Nesting packages" and "typeglobs"