Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: How to lay out private modules?

by Smylers (Pilgrim)
on May 12, 2005 at 09:14 UTC ( #456308=note: print w/replies, xml ) Need Help??

in reply to How to lay out private modules?

Something you want to be careful about is avoiding any of your modules having names that clash with modules on Cpan, cos that would get far too confusing.

An easy way of doing this is putting them all in a namespace which identifies them as being local to your organization. The namespace Local:: is reserved for this, so you can have Local::Foo, Local::Bar, etc, or you can use Your_Organization::Foo, Your_Organization::Bar, etc; in theory putting an underscore somewhere in your organization's namespace should avoid it clashing with anything on Cpan.

We do the above for any modules which implement our business logic or are otherwise specific to us. For any more general purpose modules we give them a Cpan-type name, so we can then release them to Cpan.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2023-05-31 02:42 GMT
Find Nodes?
    Voting Booth?

    No recent polls found