Browse thread
[Caml-list] CTAN/CPAN for Caml (COCAN ...?)
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Wolfgang Müller <Wolfgang.Mueller2@u...> |
| Subject: | Re: [Caml-list] CTAN/CPAN for Caml (COCAN ...?) |
> I agree this is a problem, but a Java-like module namespace is about > the worst possible solution. Perl has many thousands of packages but > does not require it. Mostly this is because of an informal honour > system: no one names their package "CGI" unless it is absolutely the > best system for writing CGI scripts. Little-used or still-born > packages can also be kicked out of the archive. AFAIRemember, if you use a new toplevel namespace, and you want your stuff to be hosted at CPAN, you have to ask some CPAN mailing list, if this is OK, and if you're lucky in one of the first few tries, your post will spawn a discussion among the Gurus and yourself if this namespace is really necessary. Each toplevel namespace is agreed upon by the Gurus. But still, perl does do something similar to JAVA. A run of find |grep pm on a typical perl installation gives you something like: ... /usr/lib/perl5/site_perl/5.6.1/i586-linux/XML/DOM/NamedNodeMap.pm /usr/lib/perl5/site_perl/5.6.1/i586-linux/XML/DOM/DOMException.pm /usr/lib/perl5/site_perl/5.6.1/i586-linux/XML/DOM/PerlSAX.pm /usr/lib/perl5/site_perl/5.6.1/i586-linux/XML/DOM/NodeList.pm /usr/lib/perl5/site_perl/5.6.1/i586-linux/XML/SAX/Base.pm /usr/lib/perl5/site_perl/5.6.1/i586-linux/XML/SAX/ParserFactory.pm /usr/lib/perl5/site_perl/5.6.1/i586-linux/XML/SAX/Exception.pm /usr/lib/perl5/site_perl/5.6.1/i586-linux/XML/SAX/PurePerl.pm ... XML::DOM::NodeList *is* found in XML/DOM/NodeList.pm, and this is what BdB meant, I think. Cheers, Wolfgang ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners