Red Hat Bugzilla – Bug 257821
perl doesn't support weak references
Last modified: 2008-03-07 10:30:13 EST
I was trying to start a Catalyst app which works fine with Perl packages as
downloaded from CPAN using the "cpan" command-line interface.
Instead of using CPAN packages, I decided to try the modules supplied as RPMs by
Fedora. Upon startup, the app complains:
Weak references are not implemented in the version of perl at
/usr/lib/perl5/vendor_perl/5.8.8/Catalyst.pm line 22
This is apparently due to a missing Scalar::Util::weaken, as described at:
Did it work when you use Scalar::Util from RPM?
Thank you for the above link, but I checked perl packages which includes the
Scalar::Util and here is XS compiled. Also the package Scalar::Util use XS support.
I'm afraid I don't entirely understand what you are saying. Scalar::Util is
included in the "perl" RPM. So for example when I upgraded to perl-5.8.8-33.fc8
from the previous Fedora 8 perl RPM, I started getting the "Weak references are
not implemented" error until I force-installed Scalar::Util from CPAN.
The package perl-5.8.8-36 upgrade the Scalar::Util on the latest version. The
problem with XS support, weaken and other functions provided by Scalar::Util
should be fixed by this update.
If you problem persist, please feel free to reopen the bug.