Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Breaking up a big module

by LanX (Saint)
on Apr 25, 2019 at 14:04 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1232992]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2024-04-26 09:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found