Skip Menu |

This queue is for tickets about the XML-XSH2 CPAN distribution.

Report information
The Basics
Id: 84140
Status: resolved
Worked: 1 min
Priority: 0/
Queue: XML-XSH2

People
Owner: CHOROBA [...] cpan.org
Requestors: CHOROBA [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 2.1.6
Fixed in: 2.1.7



Subject: Deprecated (defined @) construct
In perl 5.16, the defined @array is deprecated. The attached patch prevents a deprecation warning.
Subject: xsh2.patch
--- Completion.pm~ 2012-02-25 10:25:58.000000000 +0100 +++ Completion.pm 2013-03-02 21:03:24.080929808 +0100 @@ -123,7 +123,7 @@ if (index($word,$pdelim)>=0) { return grep -x,complete_filename($type,$word); } - unless (defined @PATH_HASH) { + unless (@PATH_HASH) { rehash_path_hash(); } return grep {index($_,$word)==0} @PATH_HASH;