Wouldn't It Be Great® if it were possible to have multiple versions of a library installed? That would make things so much more convenient for CPAN contributors. Currently there's no sensible way to deprecate a component or change up a module's API.
How about if Perl6 modules were to be installed in directories corresponding to their major version number? So that version 2.15 of Foo::Bar, which might currently reside here:
/usr/local/lib/perl5/5.8.5/Foo/Bar.pm
... would be located here instead:
/usr/local/lib/perl6/6.0.0/2/Foo/Bar.pm
?
Extra added bonus: that would give us a place to put Perl6 modules on CPAN, since there isn't anything in 0::, 1::, etc.
UPDATE:Versioning IS great already in Perl6. (Thanktalus, Tanktalus.)
"In heaven, everything is fine..."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CPAN, Perl6, and module versioning
by Tanktalus (Canon) on Oct 01, 2005 at 16:39 UTC | |
by creamygoodness (Curate) on Oct 01, 2005 at 17:31 UTC | |
by eric256 (Parson) on Oct 02, 2005 at 18:23 UTC | |
by tilly (Archbishop) on Oct 05, 2005 at 05:23 UTC | |
|
Re: CPAN, Perl6, and module versioning
by nothingmuch (Priest) on Oct 01, 2005 at 16:50 UTC |