You are here: Foswiki>Tasks Web>Item12080 (02 Dec 2012, GeorgeClark)Edit Attach

Item12080: Perl 5.16 deprecates length ( @array ) - need to use scalar

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.6
Target Release: patch
Applies To: Engine
Component:
Branches: Release01x01 trunk
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
This results in a cryptic failure to load Search, but the actual error message is not logged. Adding print statements found that use of length() in $this->{count} = length @{ $this->{list} }; is deprecated, in Foswiki::Search::InfoCache

ItemTemplate edit

Summary Perl 5.16 deprecates length ( @array ) - need to use scalar
ReportedBy GeorgeClark
Codebase 1.1.5, trunk
SVN Range
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:e69e07ace446 distro:a6fdb97fa532
TargetRelease patch
ReleasedIn 1.1.6
CheckinsOnBranches Release01x01 trunk
trunkCheckins distro:e69e07ace446
Release01x01Checkins distro:a6fdb97fa532
Topic revision: r5 - 02 Dec 2012, GeorgeClark - This page was cached on 01 Jul 2016 - 06:29.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License