Help for this page

Select Code to Download


  1. or download this
    foreach (@fields) {
       
    ...
      
      $sth->execute(values %$_);
    }
    
  2. or download this
    # list your headers
    my @heading = qw[description billing_code user_id 
    ...
    foreach my $row (@fields) {
       $sth->execute( map { $row{$_} } @heading );
    }
    
  3. or download this
    my @heading;
    {
    ...
       $sth->execute;
       @heading = @{ $sth->{NAME_lc} };
    }