in reply to Re^2: CPAN and "Weak references"
in thread CPAN and "Weak references"

But List::Util (to which List/Util/Util.so belongs) is a different module than Scalar::Util. Most likely, in your upgrade, your Perl did not compile the XS component of Scalar::Util, and your search seems to confirm that for me. So, reinstall Scalar::Util and make sure you have a matching C compiler for the Perl you're using available, so the XS component gets compiled.

Replies are listed 'Best First'.
Re^4: CPAN and "Weak references"
by almut (Canon) on Dec 07, 2009 at 21:36 UTC
    But List::Util (to which List/Util/Util.so belongs) is a different module than Scalar::Util.

    List/Util/Util.so does in fact belong to Scalar::Util (the module is somewhat peculiar in that respect).

    $ nm -D /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/auto/List/Util/ +Util.so | grep weaken U Perl_sv_rvweaken 0000000000003f70 T XS_Scalar__Util_weaken