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

Re: How to lay out private modules?

by dragonchild (Archbishop)
on May 11, 2005 at 15:31 UTC ( #456034=note: print w/replies, xml ) Need Help??


in reply to How to lay out private modules?

I generally organize based on the "Who cares?" principle. Stuff should located with whoever cares. So, if it's stuff that everyone in the company needs, I put it in the Company:: namespace. If it's something a given application cares about, I put it in the App04:: namespace. Under those, I generally have things like ::Database (for DB stuff), ::Application (for CGI::App-derived stuff), and whatever else I need.

All of that is in one path not in the standard @INC that gets use-lib'ed from startup.pl. (Yes, I'm a mod_perl nut.)


  • In general, if you think something isn't in Perl, try it out, because it usually is. :-)
  • "What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?"

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2023-06-01 12:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?