Re: [perl-win32-gui-users] not a CODE reference

2003-11-30 Thread Laurent ROCHER
Hi, $Window or $ModalWindow and you miss a } for if ? For error: "Not a CODE reference at ...", i don't know exacly what append. But it's probably because you need to add { } around (sort keys %PLZ)[$_]. for(0..((keys %PLZ) - 1)){ if($Window->{(sort keys %PLZ)[$_]}->Checked == 1){

[perl-win32-gui-users] not a CODE reference

2003-11-30 Thread YANDEX
Hello perl-win32-gui-users, I have a small window with many checkboxes. I need to ask every checkbox, so I: for(0..((keys %PLZ) - 1)){ if($Window->(sort keys %PLZ)[$_]->Checked == 1){ print $PLZ{(sort keys %PLZ)[$_]}." is checked\n"; } this dont works, the error: "Not a CODE