Thread [Tk] -textvariable an subroutine binden
(16 answers)
Opened by styx-cc at 2017-07-25 12:08
Hallo,
Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 10 11 # instanz erstellen my $m = bless{counter => 99}; # gibt referenz zurück sub counter{ my $self = shift; \$self->{counter}; } # dereferenzieren print ${$m->counter}; MfG |