Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Namespace for local/internal modules?

by chrestomanci (Priest)
on May 25, 2012 at 09:32 UTC ( #972387=note: print w/replies, xml ) Need Help??

in reply to Namespace for local/internal modules?

Similar to the idea of using you CPAN id, you could also use your company name as the root of your namespace. Most of companies I have worked for in the past five years have done that, and it works fairly well.

Obviously if you work for a massive corporation you many find that your have replaced clashes at the root of the namespace with clashes at the next level down, where your version of <company>::Math conflicts with another team half a continet away.

The other issue would be if you work for an internet company where the public are creating both authorised an un-authorised API interfaces to your publicly facing systems, so if you work for Google, then it would probably not be a good idea to use that as a namespace root, and you will conflict with other people creating Google APIs.

  • Comment on Re: Namespace for local/internal modules?

Replies are listed 'Best First'.
Re^2: Namespace for local/internal modules?
by Anonymous Monk on May 25, 2012 at 10:33 UTC

    reverse it, Local::elgooG::Brownies

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://972387]
[Corion]: thezip: Yeah - we have "CAP", but that means "Change Ablauf Plan" (Change Sequence Plan). Likely there is a true ITIL name for this too.
[Corion]: While I'm not really a fan of ITIL, it certainly is better than nothing and it at least provides a common vocabulary, so if you have ITIL somewhere at your disposal, it might be worth a look
[Corion]: Hmm - that should be somewhere in the "Release Deployment Plan", but I don't find a good English link (nor a good German one ;) )
[thezip]: My project manager is asking "Why do we need this?" Ahem...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2017-02-23 17:55 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (350 votes). Check out past polls.