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

Mathew Walker lmw94002 at hotmail.com
Tue Jan 4 10:49:59 EST 2005


Reading the Scalar::Util.pm I found this quote "By default Scalar::Util does 
not export any subroutines"... This could explain my problem but what is the 
proper way to correct it?

>From: "Mathew Walker" <lmw94002 at hotmail.com>
>To: lmw94002 at hotmail.com, jesse at bestpractical.com
>CC: rt-users at lists.bestpractical.com
>Subject: Re: [rt-users] Undefined subroutine &Scalar::Util::weaken
>Date: Fri, 31 Dec 2004 09:58:42 -0500
>
>if this helps... i have Scalar-List-Utils-1.14.
>
>raw trace:
>Undefined subroutine &Scalar::Util::weaken called at 
>/opt/rt3/lib/RT/Action/Generic.pm line 104.
>
>
>Trace begun at 
>/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Exceptions.pm line 131
>HTML::Mason::Exceptions::rethrow_exception('Undefined subroutine 
>&Scalar::Util::weaken called at /opt/rt3/lib/RT/Action/Generic.pm line 
>104.^J') called at /opt/rt3/lib/RT/Action/Generic.pm line 104
>RT::Action::Generic::_Init('RT::Action::CreateTickets=HASH(0x9c7e6a4)', 
>'CurrentUser', 'RT::CurrentUser=HASH(0x9c79cb8)') called at 
>/opt/rt3/lib/RT/Action/Generic.pm line 79
>RT::Action::Generic::new('RT::Action::CreateTickets', 'CurrentUser', 
>'RT::CurrentUser=HASH(0x9c79cb8)') called at 
>/opt/rt3/share/html/Tools/Offline.html line 107
>HTML::Mason::Commands::__ANON__ at 
>/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
>HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9c76890)') 
>called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 
>1074
>eval {...} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm 
>line 1068
>HTML::Mason::Request::comp(undef, undef) called at 
>/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 760
>HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x9be7df0)') 
>called at /opt/rt3/share/html/autohandler line 221
>HTML::Mason::Commands::__ANON__ at 
>/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
>HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9a7b4dc)') 
>called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 
>1069
>eval {...} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm 
>line 1068
>HTML::Mason::Request::comp(undef, undef, undef) called at 
>/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 338
>eval {...} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm 
>line 338
>eval {...} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm 
>line 297
>HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9be7df0)') 
>called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm 
>line 134
>eval {...} at 
>/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 134
>HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9be7df0)') 
>called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm 
>line 827
>HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x883cf00)', 
>'Apache::RequestRec=SCALAR(0x999da30)') called at /opt/rt3/bin/webmux.pl 
>line 126
>eval {...} at /opt/rt3/bin/webmux.pl line 126
>RT::Mason::handler('Apache::RequestRec=SCALAR(0x999da30)') called at -e 
>line 0
>eval {...} at -e line 0
>





More information about the rt-users mailing list