Red Hat Enterprise update Broke my Perl weak references!

My credit card processing interface (to CyberSource) broke today after we updated our Red Hat enterprise with the latest Perl. Apparently, the problem I hit was not all that rare.

The error I got was (approximately) “Version of perl at [path-to-perl] doesn’t support weak references at line 2447.” 

package SOAP::Server;

 

...
use Carp ();
use Scalar::Util qw(weaken);
sub DESTROY { SOAP::Trace::objects('()') }

sub initialize {

...

Thanks to the gang at perlmonks, the fix was pretty simple:


perl -MCPAN -e shell
force install Scalar::Util

This worked for me, if you have the same problem, well I hope it works for you, too!

Twitter Updates for 2008-09-27

  • Overheard here at ShopRite: “This is a ripoff! Paper said these were 10/$10, but they’re marked 3/$3!” #
  • Although baseball doesn’t rank among my favorite of sports, I’m glad the Phils clinched the division. Now to have the Mets lose. #

Powered by Twitter Tools.