![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
Re^3: Understanding a OOP Code: Package declared within a Packageby Phenomanan (Monk) |
on Oct 06, 2016 at 13:10 UTC ( #1173404=note: print w/replies, xml ) | Need Help?? |
This looks like it might just be done for organization or structural purposes, or perhaps to save memory if A::B would be a huge module to load. It should be possible to just have a "Package A::B" at the top without having to specify ::C-F, I might be wrong though. Check out this page, specifically the "Naming of modules" section.
In Section
Seekers of Perl Wisdom
|
|