Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Breaking up a big module

by LanX (Archbishop)
on Apr 25, 2019 at 14:04 UTC ( #1232992=note: print w/replies, xml ) Need Help??


in reply to Re: Breaking up a big module
in thread Breaking up a big module

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
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1232992]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2019-08-26 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?