in reply to Recent perl distributions without support for Scalar::Util::weaken() ?

I got this error when I was trying to use Scalar::Util from 5.6.x with perl 5.8.x.

I've heard this can happen when a vendor_perl library tree is improperly managed. In my case it happened because I was maintaining a private library tree (which I then forgot about).

I was convinced my perl was broken, until I discovered the long-forgotten library still there in my @INC.

Michael

  • Comment on Re: Recent perl distributions without support for Scalar::Util::weaken() ?