Raised This Month: $12 Target: $400
 3% 

Undefined subroutine error?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Grimman
Member
Join Date: Jul 2011
Old 04-09-2013 , 16:03   Undefined subroutine error?
Reply With Quote #1

I noticed today that my stats gathering for Team Fortress 2 servers suddenly halted.

After trying to restart the HLStatsX startup script, I suddenly get the following error in the logs:
Code:
Undefined subroutine &Scalar::Util::weaken called at .//TRcon.pm line 74.
This is using the latest version of 1.6.19. I haven't done any changes at all to HLStats, this just suddenly started happening.
Grimman is offline
Mavrick4283
Veteran Member
Join Date: Apr 2010
Location: 127.0.0.1@root
Old 04-09-2013 , 19:29   Re: Undefined subroutine error?
Reply With Quote #2

Try this
Code:
perl -MCPAN -e 'shell'
Then in the new prompt
Code:
force install Scalar::Util
__________________
Mavrick4283 is offline
Grimman
Member
Join Date: Jul 2011
Old 04-10-2013 , 15:22   Re: Undefined subroutine error?
Reply With Quote #3

That fixed it!

Thanks!
Grimman is offline
talibana
Member
Join Date: Oct 2008
Location: United Kingdom
Old 10-09-2014 , 04:31   Re: Undefined subroutine error?
Reply With Quote #4

Hello i have problem with hlstats.pl

Undefined subroutine &main::doConf called at ./hlstats.pl line 1784.

my system is debian 7
talibana is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode