Scalar::Util::weaken error

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.

Stack:
[/opt/rt3/lib/RT/Action/Generic.pm:107]
[/opt/rt3/lib/RT/Action/Generic.pm:79]
[/opt/rt3/lib/RT/ScripAction_Overlay.pm:177]
[/opt/rt3/lib/RT/Scrip_Overlay.pm:471]
[/opt/rt3/lib/RT/Scrips_Overlay.pm:237]
[/opt/rt3/lib/RT/Transaction_Overlay.pm:171]
[/opt/rt3/lib/RT/Record.pm:1444]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:744]
[/opt/rt3/lib/RT/Interface/Email.pm:719]
[/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:59] (/opt/rt3/lib/RT/Scrip_Overlay.pm:479)

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.

I should have included this:

make testdeps
/usr/bin/perl ./sbin/rt-test-dependencies --verbose --with-mysql
perl:
>=5.8.3(5.008008)…found
users:
rt group (rt)…found
bin owner (root)…found
libs owner (root)…found
libs group (bin)…found
web owner (apache)…found
web group (apache)…found
CLI dependencies:
Getopt::Long >=2.24…found
CORE dependencies:
Digest::base…found
Digest::MD5 >=2.27…found
DBI >=1.37…found
Test::Inline…found
Class::ReturnValue >=0.40…found
Date::Format…found
DBIx::SearchBuilder >=1.40…found
Text::Template…found
File::Spec >=0.8…found
HTML::Entities…found
HTML::Scrubber >=0.08…found
Net::Domain…found
Log::Dispatch >=2.0…found
Locale::Maketext >=1.06…found
Locale::Maketext::Lexicon >=0.32…found
Locale::Maketext::Fuzzy…found
MIME::Entity >=5.108…found
Mail::Mailer >=1.57…found
Net::SMTP…found
Text::Wrapper…found
Time::ParseDate…found
Time::HiRes…found
File::Temp…found
Term::ReadKey…found
Text::Autoformat…found
Text::Quoted >=1.3…found
Tree::Simple >=1.04…found
Scalar::Util…found
Module::Versions::Report…found
Cache::Simple::TimedExpiry…found
UNIVERSAL::require…found
Calendar::Simple…found
DEV dependencies:
Regexp::Common…found
Test::Inline…found
Apache::Test…found
HTML::Form…found
HTML::TokeParser…found
WWW::Mechanize…found
Test::WWW::Mechanize >=1.04…found
Module::Refresh >=0.03…found
Test::Expect >=0.30…found
XML::Simple…found
File::Find…found
MAILGATE dependencies:
HTML::TreeBuilder…found
HTML::FormatText…found
Getopt::Long…found
LWP::UserAgent…found
MASON dependencies:
Params::Validate >=0.02…found
Cache::Cache…found
Exception::Class >=1.14…found
HTML::Mason >=1.23…found
MLDBM…found
Errno…found
FreezeThaw…found
Digest::MD5 >=2.27…found
CGI::Cookie >=1.20…found
Storable >=2.08…found
Apache::Session >=1.53…found
XML::RSS >=1.05…found
HTTP::Server::Simple >=0.07…found
HTTP::Server::Simple::Mason >=0.09…found
GD…found
GD::Graph…found
GD::Text…found
Text::WikiFormat >=0.76…found
MYSQL dependencies:
DBD::mysql >=2.1018…found

This error was occurring after I had run a yum update but before the server was rebooted. This was resolved by rebooting the server.

I hope that may help someone.