[Kde-perl] Why does SUPER->focusInEvent not work?

Matthew Pressly mpressly at claborn.net
Thu Jul 1 20:02:21 CEST 2004


On Thu, Jul 01, 2004 at 12:30:08PM -0500, Matthew Pressly wrote:
[...]
I found the problem:
> sub focusInEvent {
>   print "focus in event\n";
>   SUPER->focusInEvent();
> }

It needs to pass @_ to SUPER->focusInEvent:

sub focusInEvent {
  print "focus in event\n";
  SUPER->focusInEvent(@_);
}

--
Matthew



More information about the Kde-perl mailing list