Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    while(my($id, $value) = split ',', <IN>) {
        $sum{$id} += $value;
    }