I have recently run a yum update and am now getting the following error
[Tue Jan 3 01:14:31 2012] [error]: Scrip Prepare 15 died. - Undefined subroutine &Scalar::Util::weaken called at /opt/rt3/lib/RT/Action/Generic.pm line 107.
Note that Scalar::Util is installed
perl -MCPAN -e ‘force install “Scalar::Util”’
…
Running make install
Installing /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/auto/List/Util/Util.so
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/List/Util.pm
Installing /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Scalar/Util.pm
Installing /usr/share/man/man3/List::Util.3pm
Installing /usr/share/man/man3/Scalar::Util.3pm
…
perl -v
This is perl, v5.8.8 built for x86_64-linux-thread-multi
After researching this issue there is some discussion of an issue with certain packaged versions of perl. Refer 507378 – update Scalar::Util to the latest cpan release. However when I run the command that should error it doesn’t:
perl -MScalar::Util=dualvar -e 1
Any advice appreciated.