Skip Menu |

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

Report information
The Basics
Id: 61664
Status: resolved
Priority: 0/
Queue: HTML-CalendarMonth

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

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



Subject: Cannot remove headers with head_m and head_y: major oops, no addr found for HTML::ElementTable::DataElement=HASH(0x844c3c0) at /opt/perl-5.12.2/lib/site_perl/5.12.2/HTML/ElementSuper.pm line 52
I'd like to suppress year and month headers. According to the docs, it can be done with head_m => 0, head_y => 0. $ perl -MHTML::CalendarMonth -e 'HTML::CalendarMonth->new( month => 9, year => 2010, head_m => 0, head_y => 0 );' produces the following error: Show quoted text
> major oops, no addr found for
HTML::ElementTable::DataElement=HASH(0x844c3c0) Show quoted text
> at /opt/perl-5.12.2/lib/site_perl/5.12.2/HTML/ElementSuper.pm line 52 >
HTML::ElementSuper::addr('HTML::ElementTable::DataElement=HASH(0x844c3c0)') called at /opt/perl-5.12.2/lib/site_perl/5.12.2/HTML/ElementSuper.pm line 64 Show quoted text
>
HTML::ElementSuper::position('HTML::ElementTable::DataElement=HASH(0x844c3c0)') called at /opt/perl-5.12.2/lib/site_perl/5.12.2/HTML/CalendarMonth.pm line 717 Show quoted text
> HTML::CalendarMonth::coords_of('HTML::CalendarMonth=HASH(0x83573b0)',
2010) called at /opt/perl-5.12.2/lib/site_perl/5.12.2/HTML/CalendarMonth.pm line 628 Show quoted text
> HTML::CalendarMonth::item('HTML::CalendarMonth=HASH(0x83573b0)', 2010)
called at /opt/perl-5.12.2/lib/site_perl/5.12.2/HTML/CalendarMonth.pm line 312 Show quoted text
> HTML::CalendarMonth::_gencal('HTML::CalendarMonth=HASH(0x83573b0)')
called at /opt/perl-5.12.2/lib/site_perl/5.12.2/HTML/CalendarMonth.pm line 173 Show quoted text
> HTML::CalendarMonth::_date('HTML::CalendarMonth=HASH(0x83573b0)', 9,
2010) called at /opt/perl-5.12.2/lib/site_perl/5.12.2/HTML/CalendarMonth.pm line 933 Show quoted text
> HTML::CalendarMonth::new('HTML::CalendarMonth', 'month', 9, 'year',
2010, 'head_m', 0, 'head_y', 0, ...) called at -e line 1 I initially thought it was linked to bug 61287 but it is still broken in 1.25. It seems unrelated to the locale: I tried with "fr_CH.UTF-8", "POSIX" and "C" and always had this issue. - perl 5.12.2 built with -Dusethreads for i686-linux-thread-multi - Ubuntu 10.04
fixed in 1.26