Thread Unterfenster aus Schleife heraus starten (9 answers)
Opened by rol_wir at 2006-10-11 12:31

ptk
 2006-10-11 23:38
#45877 #45877
User since
2003-11-28
3645 Artikel
ModeratorIn
[default_avatar]
[quote=renee,11.10.2006, 12:55]Aus
Code: (dl )
1
2
                                -command => sub{
&doitnow;})


sollte
Code: (dl )
                                -command => \&doitnow)

werden.[/quote]
Nicht unbedingt, außer dass man nicht &code, sondern code() schreiben sollte. Die sub { code() }-Schreibweise hat den Vorteil, dass es mit einem Application-Reload besser funktioniert.

View full thread Unterfenster aus Schleife heraus starten