Re: Perl 6 modules plan
[email protected] (Nathan Wiger) Thu, 09 Aug 2001 12:56:46 -0700
| Newsgroups | perl.perl6.stdlib |
|---|---|
| Organization | Sun Microsystems |
| Message-ID | <[email protected]> |
Dan Sugalski wrote: > > At 03:39 PM 8/9/2001 -0400, Kirrily Robert wrote: > >=head1 THINGS THAT NEED DOING > > Add to this "Define required metadata for perl modules". I think Larry > wants version and author as required at the very least. > > FWIW, my current view of "The Module Plan" is for all modules to be > identifiable via a module name/author ID/version triple. This is kinda sketchy to me. I like the module name and version, but author is a little weird. For CPAN modules, it should be straightforward: it's your CPAN id. But do we really *want* to support two modules with the same name but different authors? That seems like a recipe for mass confusion. Besides, there's an unlimited supply of similarly-concepted names (CGI::Simple, CGI::Easy, CGI::Minimal) available. I think supporting a version is a good idea, but I don't think allowing multiple modules to be named the same thing is. Am I missing something? I'd much rather the programmer do this: use CGI as any(CGI::Simple CGI::Minimal CGI); Or somesuch thing. -Nate