Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: Breaking up a big moduleby LanX (Saint) |
on Apr 25, 2019 at 14:04 UTC ( [id://1232992]=note: print w/replies, xml ) | Need Help?? |
I think thats pretty close to what I described here But I'd require inside a BEGIN block or just use use to make sure that non method calls without parens work and other side effects where timing matters. The other point is namespace pollution, one might not want such partial "split-modules" to show up in the normal @INC. My approach was to add underscores to package names and having a dedicated extra load path.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|