Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    
  2. or download this
    my @data = get_data(); # or however you get them
    my %count;
    ...
    foreach my $item_count ( values %count ) {
        $item_count *= 100/@data;
    }