|
Posted by harryfmudd [AT] comcast [DOT] on December 6, 2006, 7:16 pm
Please log in for more thread options
Mumia W. (reading news) wrote:
> On 12/05/2006 10:41 PM, Uri Guttman wrote:
>
>>>>>>> "MW(n" == Mumia W (reading news)
>>
>>
>> MW(n> I think a good place for me to put my future modules on CPAN
>> is into
>> MW(n> the Marquis:: namespace--which currently does not exist.
>>
>> MW(n> What do the rest of you think of this idea?
>>
>> if this is a personal set of random modules, i would say no. top level
>> namespaces should be used for larger namespaces. why do you want this
>> name? what kind of modules and are they related? does marquis have a
>> technical connection here or is it just a name you like?
>>
>> uri
>>
>
> It's just a name I like. Underneath Marquis:: would be a hierarchy of
> namespaces for the modules I've written such as Marquis::Math and
> Marquis::Sort.
>
> I don't want to create more namespace pollution on CPAN, but I do want
> to keep my module hierarchy separate from the others.
>
This sounds like the way Java does things. Or at least the way I
understand Java to do things.
But Perl namespaces have always been more-or-less functional, and you're
making it harder for others to browse for your modules. To the best of
my knowledge there are no personal namespaces on CPAN, and though the
namespace czars seem to be more lenient these days, I for one would
think the spawning of a bunch of personal namespaces would just make the
naming situation worse.
As was pointed out in an adjacent response, there's no trouble finding
modules by author. Assuming your PAUSE account is 'mumia', your modules
would be under http://search.cpan.org/~mumia/
If you are determined to pursue this, maybe propose top-level namespace
Personal::, and then make your stuff Personal::Marquis::. The Acme::
namespace seems to me to be a precedent, in that the only uniting
functional thread that I can discern is off-the-wall-ness (if you will
pardon the invention of a word).
Tom Wyant
|