develooper Front page | perl.perl5.porters | Postings from April 2007

Re: [Andreas J. Koenig] C3 MRO breaks Params::Util and Graph

Thread Previous | Thread Next
Alexandr Ciornii
April 25, 2007 09:00
Re: [Andreas J. Koenig] C3 MRO breaks Params::Util and Graph
Message ID:

If you upgrade Scalar::Util from CPAN and do not have a compiler, it
will install pure perl version without warnings (see
And perl tests have check for XS version, some of them are skipped if
XS part is not available (weak.t included and it is only test that
checks weaken).

I propose to modify tests that they will REQUIRE full implementation.
And modify CPAN version to require compiler, because too many CPAN
modules require this functionality.

Another way is to split Scalar::Util into two modules: pure perl
Scalar::Util and XS Scalar::Util::Weaken.

2007/4/24, demerphq <>:
> On 4/24/07, Nicholas Clark <> wrote:
> > On Tue, Apr 24, 2007 at 08:08:28AM +0100, Jonathan Stowe wrote:
> > > On Mon, 2007-04-23 at 23:17 -0700, Joshua ben Jore wrote:
> > > > Aren't there some OSes like Red Hat which frequently ship with
> > > > Scalar::Util minus the XS portions like weaken and blessed?
> > >
> > > Yes,
> > > <checks other laptop> Mandrake Linux 9.2 did as well.

Same with ubuntu 6.06 - have helped recenly in Request Tracker list.
It already had Scalar::Util 1.19.

> >
> > Then they are buggy.
> > Not us.
> Thank you. My thoughts exactly. Removing XS implementations of core
> modules is a seriously stupid thing to do and any distro which does so
> deserves to handle all the bug reports themselves.

Alexandr Ciornii,

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About