Skip Menu |

This queue is for tickets about the HTML-TableParser CPAN distribution.

Report information
The Basics
Id: 97725
Status: resolved
Priority: 0/
Queue: HTML-TableParser

People
Owner: djerius [...] cpan.org
Requestors: fraserbn [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in:
  • 0.38_01
  • 0.38_02
  • 0.39
  • 0.40



Subject: [PATCH] Don't use defined(@array)
This is deprecated in 5.20, and will be an error in 5.22. Just checking @array does what you'd expect.
Subject: 0001-Don-t-use-defined-array.patch
From e94ad4dd59f7a08881583ed9a3c237808354cdac Mon Sep 17 00:00:00 2001 From: Brian Fraser <fraserbn@gmail.com> Date: Sun, 3 Aug 2014 23:24:28 +0200 Subject: [PATCH] Don't use defined(@array) This is deprecated in 5.20, and will be an error in 5.22. Just checking @array does what you'd expect. --- t/contents.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/contents.t b/t/contents.t index f9bb6b4..0eba6f3 100644 --- a/t/contents.t +++ b/t/contents.t @@ -28,7 +28,7 @@ sub start print STDERR "start: $tbl_id\n" if $verbose; die( "whoops! we're already in the middle of a table!\n" ) - if defined @parse_data; + if @parse_data; @parse_data = (); } -- 1.7.12.4 (Apple Git-37)
On 2014-08-03 17:21:13, Hugmeir wrote: Show quoted text
> This is deprecated in 5.20, and will be an error in 5.22. > Just checking @array does what you'd expect.
It is already an error in perl 5.21.x.
This should be fixed in the latest release. Thanks for your bug report!