Help for this page

Select Code to Download


  1. or download this
    my @loop_data = ();
    my @keys = ();
    ...
    
      push(@loop_data, \%row_data);
    }
    
  2. or download this
    my @loop_data = map { { KEY => $_, VALUE => $hash{$_} } } keys %hash;
    
  3. or download this
    <table width=400 border=1 cellspacing=0 cellpadding=0>
      <TMPL_UNLESS SHOW_ALL_LOOP>
    ...
      </tr>
      </TMPL_LOOP>
    </table><br>
    
  4. or download this
        <td valign=top bgcolor=#dddddd>
          <b>Key</b>:&nbsp;<TMPL_VAR NAME="KEY">
    ...
        <td>
          <b>Value</b>:&nbsp;<TMPL_VAR NAME="VALUE">
        </td>