in reply to Re: Param and Scalars
in thread Param and Scalars
The param stuff:
The radio button group:if (! param ) { show_form(); } elsif (defined param ('file_chosen)) { parse_text(); } elsif (defined param('$temp_name')) {print print_results(); }
while ($counter<=$#doc_offset_array) { @temp_array = @{$array_of_arrays[$counter]}; $temp_name =$doc_offset_array[$counter]; foreach $i (@temp_array) { print radio_group(-name=>'$temp_name', -values=>[@temp_array], -linebreak=>'true'); } } }
Actually, using no quotes in both the radio group and the param function still prevents the elsif statement from being executed, though the radio buttons print OK. Using double quotes in both sets of code also prints radio buttons OK, but prevents the elsif statement from being executed. L
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Param and Scalars
by kal (Hermit) on Mar 28, 2001 at 15:52 UTC |