Help for this page

Select Code to Download


  1. or download this
    $sth = $dbh -> prepare("SELECT * FROM bs_trans WHERE bsid = ?");
    $sth -> execute($bsid);
    
  2. or download this
    my $i = 0;
    while (@rray3 = $sth -> fetchrow_array()) {
        $item_hoh{$i} => {index => $i, mva => $rray3[3], hv1 => $rray3[5],
    + lv1 => $rray3[7], ltc => $rray3[10], qty => 'tbd'};
        $i++;
    };
    
  3. or download this
    my $msg = MIME::Lite::TT::HTML -> new(
        From => 'donotreply@blahblah.com',
    ...
    );
        
    $msg -> send();
    
  4. or download this
    [% FOREACH record IN item_hoh.values.nsort('index') %]
        <tr>
    ...
            <td>[% record.qty %]</td>
        <tr>
    [% END %]