Help for this page

Select Code to Download


  1. or download this
    while (my $r = $attr_detail->fetchrow_hashref()) {
      $details->{$r->{'masterid'}}->{$r->{pco_attribute_id'}}->{pco_value}
    + = $r->{'pco_value'};
    ...
        print DETAILS "$master_id\t$attr_id\t$pco_value\n";
      }
    }
    
  2. or download this
    for my $m_id_attr_id (keys %details) {
      my ($m_id, $attr_id) = split $;, $m_id_attr_id;
      print DETAILS "$m_id\t$attr_id\t$details{$m_id_attr_id}\n";
    }
    
  3. or download this
    print DETAILS (join "\t", split $;, $details{$_}), "\n" for keys %details;