in reply to CPAN and "Weak references"
Weak references are not implemented in the version of perl
Usually, this has to do with the XS component of Scalar::Util not being found (in which case weaken() is not available):
$ perl -MScalar::Util=weaken -e'weaken(\my $var)' $ sudo mv /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/auto/List/Uti +l/Util.so /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/auto/List/Ut +il/Util.so_hide $ perl -MScalar::Util=weaken -e'weaken(\my $var)' Weak references are not implemented in the version of perl at -e line +0 BEGIN failed--compilation aborted.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CPAN and "Weak references"
by arthurg (Acolyte) on Dec 07, 2009 at 21:18 UTC | |
by almut (Canon) on Dec 07, 2009 at 21:30 UTC | |
by arthurg (Acolyte) on Dec 07, 2009 at 23:37 UTC | |
by Corion (Patriarch) on Dec 07, 2009 at 21:22 UTC | |
by almut (Canon) on Dec 07, 2009 at 21:36 UTC |