boo_radley has asked for the wisdom of the Perl Monks concerning the following question:

Ima try to get this module to install, because it looks like it'd have a lot of good uses.
I snatch it from CPAN,
perl makefile.pl, nmake, perl test.pl and get
Can't locate object method "content_list" via package "HTML::ElementTa +ble" at C:/Perl/site/lib/HTML/ElementTable.pm line 32.
Gosh, that's odd. redo the dance of making, watching for errors more closely.
Nothing.
Maybe some dependency is off?
update URI to 1.15, libwww-perl to 5.53_95, HTML::Element::Extended to 1.10, no problems, all test.pl run ok.
run through HTML::CalendarMonth to the same error... got the latest hot & sexy package from http://mojotoad.com/sisk/projects/HTML-CalendarMonth/.
still getting
Can't locate object method "content_list" via package "HTML::ElementTa +ble" at C:/Perl/site/lib/HTML/ElementTable.pm line 32.
... Does anyone have any ideas before I break down & write to the author? Is this some object oriented secret squirrel method that any OO module has? Or is it just something missing from HTML::ElementTable?
updated
see the author's information below. Also note that HTML::Element::Extended needs to be v 1.10 or better as well, and isn't in the bundle.

Replies are listed 'Best First'.
Re: The vexation of installing and compiling HTML::CalendarMonth
by Anonymous Monk on Aug 11, 2001 at 13:04 UTC
    Be not vexed, for it is I, the author himself. Fresh from the foggy highlands of Vietnam, I grant thee the following answer:

    Upgrade HTML::Element, on which all of it is based. It is available in the HTML-Tree 3.11 bundle, currently maintained by Sean Burke.

    This is by far the most frequent question I get about the calendar module. It should be in a FAQ, but it would be about the only entry!

    Let me know if this doesn't fix the problem.
    Matt

    P.S. It was sort of a lark that I saw this post. I'm in the middle of extended travel. I will be back up to speed come next February.

      You need to update your module so that it demands the version of HTML::Element that it needs. For example, if it requires version 3.11 or higher, and you currently have use HTML::Element; then change it to: use HTML::Element 3.11; If you have use HTML::Element qw( ... ); then change it to: use HTML::Element 3.11 qw( ... ); Then users will be told that they need to upgrade HTML::Element and even what version to look for.

      You should also note this dependancy so that CPAN.pm can tell people what they need to install with your module. You do this by adding the following to your Makefile.PL:     'PREREQ_PM'      => { 'HTML::Element' => 3.11 },

              - tye (but my friends call me "Tye")
        Yes. Oversite on my part. It used to be that way, but it's been dropped.

        Do you happen to know, right of hand, whether that syntax ordains an exact match on the version requirement, or is it a >= relationship. If it's an exact match, that might have been why I dropped it once upon a time.

        Matt