@vars = ("a1", "b2", "c3"); $opt = $w1->Optionmenu(-options=>\@vars, -variable=>\$tvars -command=> sub { print "got : ", shift, "\n"})->pac +k; # ----------------^ # missing comma.
In reply to Re: Error with perl tk::OptionMenu
by shmem
in thread Error with perl tk::OptionMenu
by user_katie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |