Skip Menu |

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

Report information
The Basics
Id: 17804
Status: resolved
Priority: 0/
Queue: HTML-Element-Extended

People
Owner: MSISK [...] cpan.org
Requestors: cpan [...] fireartist.com
Cc:
AdminCc:

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



Subject: HTML-ElementTable - variable warnings under -w
HTML-ElementTable causes warnings when run with "use warnings" "my" variable $year masks earlier declaration in same scope at C:\WINDOWS\Temp\cpan\build\HTML-CalendarMonth-1.17\blib\lib/HTML/CalendarMonth/DateTool/DateCalc.pm line 61. The following patch fixes it, by renaming one of the arrays. 374c374 < my @rows; --- Show quoted text
> my @content;
387c387 < push(@rows, $row); --- Show quoted text
> push(@content, $row);
390c390 < $tree->push_content(@rows); --- Show quoted text
> $tree->push_content(@content);
This is perl 5.8.8, GNU gcc (mingw) 3.4.5, WinXP SP2