On 2013-07-09 04:01:48, JLouisBiz wrote:
Show quoted text> Following error is appearing in the latest version 0.0.5:
>
> defined(%hash) is deprecated at
> /usr/local/share/perl/5.14.2/Data/TreeDraw.pm line 1301
In newer perls defined(%hash) or defined(@array) is causing a compilation error:
# Failed test 'use Data::TreeDraw;'
# at t/00.load.t line 4.
# Tried to use 'Data::TreeDraw'.
# Error: Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /tmpfs/.cpan-build-cpansand/2016030906/Data-TreeDraw-HeU7h_/blib/lib/Data/TreeDraw.pm line 1300.
# Compilation failed in require at t/00.load.t line 4.
# BEGIN failed--compilation aborted at t/00.load.t line 4.
# Testing Data::TreeDraw
# Looks like you failed 1 test of 1.
t/00.load.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests