Thread Rückgabe Referenz?
(4 answers)
Opened by theresa at 2008-04-16 15:46
wie wäre es mit
Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 10 11 my $var = 'X'; foo(\$var); print $var; sub foo { my $out = shift; # .. my $campus_but = $campus_frame -> Button(-text=>"HAW_Campus", -command => sub {$mw->destroy(); $$out = 'A'; }) -> pack(); # ... } |