Thread MainWindow vererben??? (8 answers)
Opened by Gast at 2005-07-19 12:34

Gast Gast
 2005-07-19 12:34
#44188 #44188
Kann mir jemand sagen warum das nicht funktioniert.


Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/perl

use strict;

use my_tk;

my $fenster = my_tk->new();

MainLoop();



package my_tk;

use base 'Tk';
sub new {
my $class = shift;
my $self = $class->SUPER::MainWindow->new(@_);
# ggf. mach was mit $self
return $self;

}
1;


Fehler:

Can't locate auto/my_tk/SUPER/MainWindow.al in @INC

View full thread MainWindow vererben???