Peter Eisengrein wrote: > for ($x=1; $x <= $mechs; ++$x) { > $main->MECH$x->Text("$MECH{$x}{'name'}\'s best > Strength setting is $MECH{$x}{'best'}."); > }
you can access sub-windows (eg. controls) as hash keys of the main window. change your code to: $main->{"MECH$x"}->Text( "blah blah blah..." ); cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print;