[rt-users] Scalar::Util::weaken problem

Mickey Chandler micklc at gmail.com
Mon Nov 20 15:58:38 EST 2006


I seem to have a problem with Scalar::Util::weaken and RT 3.6.1 (which
I upgraded to last night).

First, here's the error I get when RT gets an email that should open a
new ticket:

 RT: 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:472]
[/opt/rt3/lib/RT/Scrips_Overlay.pm:237]
[/opt/rt3/lib/RT/Transaction_Overlay.pm:171]
[/opt/rt3/lib/RT/Record.pm:1446]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:745]
[/opt/rt3/lib/RT/Interface/Email.pm:717]
[/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:59]
(/opt/rt3/lib/RT/Scrip_Overlay.pm:480)

I've read through the archives and tried uninstalling Scalar::Util and
reinstalling it both through CPAN and from sources (using "perl
Makefile.pl && make && make test && make install" as the command
line).

Running "perl -MScalar::Util=weaken -w -e 'use strict; my $a = {};
weaken($a);'" from the command line does not return any messages:

[mickc at gandolf ~]$ perl -MScalar::Util=weaken -w -e 'use strict; my $a
= {}; weaken($a);'
[mickc at gandolf ~]$

So, does anyone have any ideas on what I might have done incorrectly here?



More information about the rt-users mailing list