Skip Menu |

This queue is for tickets about the Tree-AVL CPAN distribution.

Report information
The Basics
Id: 91154
Status: new
Priority: 0/
Queue: Tree-AVL

People
Owner: Nobody in particular
Requestors: jthorn [...] astro.indiana.edu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: perl v5.16.3 reports deprecated use of defined(@array) in Tree::AVL source code
Date: Tue, 3 Dec 2013 12:54:03 -0500 (EST)
To: bug-Tree-AVL [...] rt.cpan.org
From: Jonathan Thornburg <jthorn [...] astro.indiana.edu>
I'm using Tree::AVL version 1.075, installed from the CPAN distribution. Using perl v5.16.3 on OpenBSD 5.4, perl warns of deprecated code in the Tree::AVL source code, even without -w or 'use strict': % cat try-Tree-AVL2 #!/usr/bin/perl use Tree::AVL; % ./try-Tree-AVL2 defined(@array) is deprecated at /usr/local/libdata/perl5/site_perl/Tree/AVL.pm line 1082. (Maybe you should just omit the defined()?) % perl -v This is perl 5, version 16, subversion 3 (v5.16.3) built for amd64-openbsd Copyright 1987-2012, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. % The code in question is in the function acc_lookup() . -- -- "Jonathan Thornburg [remove -animal to reply]" <jthorn@astro.indiana-zebra.edu> Dept of Astronomy & IUCSS, Indiana University, Bloomington, Indiana, USA "There was of course no way of knowing whether you were being watched at any given moment. How often, or on what system, the Thought Police plugged in on any individual wire was guesswork. It was even conceivable that they watched everybody all the time." -- George Orwell, "1984"