Page Index Toggle Pages: 1
Topic Tools
Normal Topic Perl 5.12 warning tosser (Read 1,021 times)
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,266
Location: Earth

YaBB 2.6.0
Re: Perl 5.12 warning tosser
Reply #1 - Nov 6th, 2012 at 9:33pm
Post Tools
This Topic was moved here from YaBB 2 - Bugs [Need Verification] [move by] Dandello.
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,266
Location: Earth

YaBB 2.6.0
Perl 5.12 warning tosser
Aug 3rd, 2012 at 11:55pm
Post Tools
Defined hashes are deprecated in Perl 5.12. (But they don't break things - yet.)

There are 2 in .Sources/Subs.pl

Find:
Code
Select All
defined %yyuserlog 



Replace with:
Code
Select All
%yyuserlog 



The logic here, as near as I can tell, is that asking if a hash (which is kinda-sorta like a keyed SQL table) exists isn't the same as asking if there's anything in it.
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top