rakheek has asked for the wisdom of the Perl Monks concerning the following question:
my $which_radio_button = param('P1P2_bugs'); # #Decide the rec_type based on the Radio button selection if ( $which_radio_button eq 'P1' ) { my $rec_type = '3'; my $y_label = 'Open P1 Bugs'; } elsif ( $which_radio_button eq 'P2' ) { my $rec_type = '4'; my $y_label = 'Open P2 Bugs'; } elsif ( $which_radio_button eq 'P1-P2' ) { my $rec_type = '2'; my $y_label = 'Open P1-P2 Bugs'; } elsif ( $which_radio_button eq 'Daily-Snapshot' ) { my $rec_type = '1'; my $y_label = 'Daily-Snapshot'; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: if else condition not assigning value when using my
by LanX (Saint) on Apr 08, 2010 at 23:20 UTC | |
by rakheek (Sexton) on Apr 08, 2010 at 23:54 UTC | |
|
Re: if else condition not assigning value when using my
by jethro (Monsignor) on Apr 08, 2010 at 23:19 UTC | |
|
Re: if else condition not assigning value when using my
by GrandFather (Saint) on Apr 08, 2010 at 23:33 UTC | |
by LanX (Saint) on Apr 09, 2010 at 01:51 UTC | |
|
Re: if else condition not assigning value when using my
by Anonymous Monk on Apr 08, 2010 at 23:15 UTC | |
by Anonymous Monk on Apr 08, 2010 at 23:19 UTC |