I've written some code using Tk but am now using Tkx. I've tried to make the necessary changes but am getting errors with new_optionmenu. Is the syntax below correct? If so, I might have some issues with my .pm files?... I'd appreciate any suggestions. Thanks!
my $mw = Tkx::widget->new(".");
my @fail_crit = (
'1. Maximum Strain',
'2. Maximum Stress',
'4. Modified Tsai-Wu',
my $fail_crit_optmen = $mw -> new_optionmenu(-options=>\@fail_crit,