Subject: | _can hook of Class::Autouse does not support SUPER:: |
Date: | Tue, 26 May 2009 10:10:45 -0700 (PDT) |
To: | bug-Class-Autouse [...] rt.cpan.org, RobSeegel [...] aol.com |
From: | Nilesh <nilman70 [...] yahoo.com> |
Hi,
This bug can be reproduced when one tries to run the attached program tk.pl with Tk/MListbox.pm on any perl platform. Especially in the lines like $w->Callback(-updatecommand=>$w->can('SUPER::activate'),@_);
Here, can (which is hooked by Autouse) delivers an undef if Class::Autouse is in action.
If one comments out the line of Class::Autouse in tk.pl, the program runs smoothly.
Please suggest the solution.
With best regards,
Nilesh Mangaonkar
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.