The path to a module file only affects what you use to load it, and that in turn depends on what's in @INC. Within the file, you can declare as many packages as you like and give them whatever names you like.
For consistency, paths and module names often match. This is not required by Perl, only good sense.
In reply to Re: modules and namespace
by chromatic
in thread modules and namespace
by RandomWalk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |