|P is for Practical|
How can I call a class method of the object's parent class?by dissident (Sexton)
|on Jan 03, 2018 at 07:41 UTC||Need Help??|
dissident has asked for the
wisdom of the Perl Monks concerning the following question:
I am having a hard time with Curses::UI, for various reasons.
The module's "maintainer" has been showing no activity for about 10 years, shortly since he took over maintainership. He has apparently been ignoring *all* bug reports and proposed fixes that piled up in these years. See the long list of about 50 issues, some of them unfixed since 13 years, spread over two different bug report pages:
I think I have no choice than to fork the last version, already many years old, on Github and work through all these bug reports, and implement the proposed fixes as well as those I had to add myself (which are not yet reported because it doesn't seem make sense to report, as the "maintainer" will ignore it anyway).
I urgently need a Curses::UI working fine. I cannot release my project basing on a Curses::UI in its current bugfested state. This would fall back onto me.
Is there any way to feed back the fixes to CPAN, as the "maintainers" apparently just ignore?
And, finally my biggest problem where I do not understand what is wrong. I need to set the active entry in a Curses::UI::Popupmenu.
The latter package does not have such a method, but the class Curses::UI::Listbox, which the Popupmenu class is inherited from, has a set_selection() method. However, if I try to call this method with$objectOfClassPopupmenu->set_selection( $value);
I get the error "Can't locate object method "set_selection" via package "Curses::UI::Popupmenu".
If the error is not the way how I called the method, I could imagine it is yet another bug. I'd expect the function to be public, but it behaves like a private one?!? If I must make the function public, what is the recommended way to do this?