Is Win32::GUI designed to support something like this: $subtxt = "Simple_Click"; eval qq ( sub main::$subtxt { print "button clicked\n"; $W->SimpleLabel->Text("Got a click"); } );
(Actually this piece of code does not work...) The problem is that I would like to create a number of controls dynamically because I know the number of controls to create only at runtime. regards, Thomas