- or download this
my %count=(); # A hash -it is bcos of of key/value pairs?
...
}
- or download this
my @data = map{ $count{$_} || 0 } qw(CLEAN SPAM INFECTED BANNED BAD-HE
+ADER REJECTED);
...
qw(CLEAN SPAM INFECTED BANNED BAD-HEADER REJECTED) # here you create a
+n array for count values?
- or download this
my $data = GD::Graph::Data->new([
...
[@data] has count values coming from line qw(CLEAN SPAM INFECTED BANN
+ED BAD-HEADER REJECTED)