Thu, Nov 24, 2005 at 02:40:13PM +0100, David Landgren wrote:
Rafael Garcia-Suarez wrote:
11/24/05, David Landgren <david (AT) landgren (DOT) netwrote:
>>The last time I spoke with Rafael about the subject, he said Switch was
>>required because there's another module in the base distribution that
>>does use it (despite the proviso from Damian above). I forget which one
>>it is, and CPANTS doesn't see it. Perhaps it should be patched to use a
>>classic perlish switch construct and remove the Switch dependency, and
>>Switch could then be removed from core?
>
>Er, I don't think I said that, because that's not true or I was
>very very drunk or one of us mistaked Switch for another module.
No, definitely talking about Switch, and I'm sure I was talking to you,
so that leaves you being very, very drunk. me.
After some rather laborious searchng I've found XML::ParseDTD and
Data::Transform. There may be others, alas, gonzui is panicking with 500
errors about a corrupt database, so that rules out the easy search.
But since these aren't in core, there shouldn't be a problem, assuming
prerequisites are followed during their builds.
Yeah, well, by that reasoning, we could clean up almost any module in
the core.
I'd say, it's unfortunate 'Switch' is in the core, but since it's in,
it should stay in. Not everyone blindly installs something from CPAN,
for several reasons. Just hang out on clpm or on Perlmonks, and find
out how hard it is for some people to get a module installed. Be it
by their own lack of knowledge, or because of system policy.
Removing Switch, or any other module, from the core will risk that code
will break after an upgrade of Perl.
Perhaps the lesson to learn is to not so easily add new modules to the
core. ;-)
>>Can a module be removed from the base distribution?
>
>That's against rules^Wtradition
What I'm trying to say that if it comes down to Switch or defined-or,
I'd prefer to have the latter.
What I am saying is that if it comes down to introducing new features
or not breaking code, I prefer the latter.
Abigail
PGP SIGNATURE
Version: GnuPG v1.4.0 (GNU/Linux)
4kpNnGYNhT6K/3+kT2eSB0=
=a/lC
PGP SIGNATURE