I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-01-24 11:36:56-08 by stevedwyer
Tk::MListbox on Windows Vista
I am having problems using Tk::MListbox on windows vista. The module works perfectly using the same version of ActivePerl on windows XP.

The problem I have found is to do with the callbacks used to update each Tk::Listbox that Tk::MListbox uses.

Firstly Tk::MListbox does not use Tk::Listbox directly, instead it derives Tk::CListbox from Tk::Listbox and adds the functionality to call a '-updatecommand' callback whenever something happens to it. The problem arises in the functions that initiate the '-updatecommand' callback.

It uses ($w being a reference to the Tk::CListbox object)

$w -> can('SUPER::selectionSet');

Under windows XP this will return a CODE reference to the Tk::Listbox selectionSet function. However, under windows vista this function will not return anything and causes the calling of this reference to throw an error:

Tk::Error: Not a CODE reference at C:/Perl/site/lib/Tk/MListbox.pm line 700.

I have checked the can function at it will work correctly for

$w -> can('selectionSet');

referencing its own functions but fails with anything beginning with 'SUPER::'

Any ideas on why this is happening?
Direct Responses: 7710 | Write a response
Posted on 2008-04-19 20:00:41-07 by jrssd in response to 6921
Re: Tk::MListbox on Windows Vista
This is not just a Windows Vista problem - I'm seeing exactly the same thing on XP SP2. It seems to occur when scrollbars are added to MListbox. Both Scrolled and Scrollbars are an issue. It's a shame, MListbox is perfect for my needs :(
Direct Responses: Write a response