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

I am trying to install MojoMojo via cpan. I have reasonable perl experience, but rarely use cpan (thankyou sysadmins). Any suggestions as to how I can fix the problem? The particular module is HTML::FormFu::Model::DBIC, and the problems listed when installing are:

- 'new_empty_row' is deprecated and is provided for compatibility only,
- Deep recursion on subroutine "HTML::FormFu::base::render" at /usr/lib/perl5/site_perl/5.8.8/HTML/FormFu/Element.pm line 34.
- DBIx::Class::ResultSource::compare_relationship_keys(): compare_relationship_keys is a private method, stop calling it at /root/.cpan/build/HTML-FormFu-Model-DBIC-0.05000-VwZ32f/blib/lib/HTML/FormFu/Model/DBIC.pm line 531

Thanks!

Replies are listed 'Best First'.
Re: CPAN Wont install a module...
by ikegami (Patriarch) on Jun 19, 2009 at 21:18 UTC

    'new_empty_row' is deprecated and is provided for compatibility only,

    Downgrading to a version of HTML::FormFu::Model::DBIC older than 0.04000 (2009-04-22) will get rid of the deprecated warning. Or you can just ignore the warning.

    compare_relationship_keys is a private method

    Downgrading to a version of HTML::FormFu::Model::DBIC older than 0.05000 (2009-05-26) or downgrading to a version of DBIx::Class older than 0.08103 (2009-05-26) will get rid of the private sub error. (It's very harsh to use carp here!)

    Deep recursion on subroutine "HTML::FormFu::base::render"

    That's most likely a real problem, and there's no superficial workaround. (Although downgrading the dependencies to avoid the other problems might avoid this one as well.)

Re: CPAN Wont install a module... (Links to modules)
by ikegami (Patriarch) on Jun 19, 2009 at 20:53 UTC