Mark Overmeer wrote:
Currently in CPAN you have modules like:
Digest::MD5
Digest::SHA
Digest::MD5::Perl
Digest::SHA::PurePerl
The difference is that the first two are implemented in C and the later
two in Perl.
This is comparible to adding a "target" to each of the modules, a
suggestion when you started this long thread.
I'm thinking of a different problem. Regardless of how CPAN works, once
stuff is installed in my system, I need a way to tell Perl which of the
three different (installed) SHA modules I want to use.
If there is no good solution, people will just use the module names in
ad-hoc ways as exemplified above. Do we really want each person adding
their own thing to the module name (::Perl vs ::PurePerl)?
I figure that the ways to avoid that is to change the language semantics
or add a naming convention. I assumed that changing the language
semantics was a non-starter.
Daniel.