I just too lazy to write everything out. Thanks for your help!foreach $INFO (qw/BUTTON1 BUTTON2 BUTTON3/){ $INFO = $mainwindow->Button(-text => $INFO)->pack(); }
In reply to Creating Variables On The Fly by dopey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |