[rt-users] Undefined subroutine &Scalar::Util::weaken

Mathew Walker lmw94002 at hotmail.com
Thu Dec 30 12:52:35 EST 2004


I've finally stumbled along enough to get things working (gotta love the 
list archives), however when I click TOOLS from the main menu on the left, I 
get the following errror.  A little direction would be greatly appreciated. 
To the best of my ability, I can't find any glaring errors.

error:  Undefined subroutine &Scalar::Util::weaken called at 
/opt/rt3/lib/RT/Action/Generic.pm line 104.

context:  ...
100:  $self->{'TransactionObj'} = $args{'TransactionObj'};
101:  $self->{'TemplateObj'} = $args{'TemplateObj'};
102:  $self->{'Type'} = $args{'Type'};
103:  $self->CurrentUser( $args{'CurrentUser'});
104:  Scalar::Util::weaken($self->{'ScripObj'});
105:  Scalar::Util::weaken($self->{'TicketObj'});
106:  Scalar::Util::weaken($self->{'TemplateObj'});
107:  Scalar::Util::weaken($self->{'TransactionObj'});
108:
...

code stack:  /opt/rt3/lib/RT/Action/Generic.pm:104
/opt/rt3/lib/RT/Action/Generic.pm:79
/opt/rt3/share/html/Tools/Offline.html:107
/opt/rt3/share/html/autohandler:221

raw error





More information about the rt-users mailing list