my @word = map{ $count{$_} || 0 } qw($word); #I think This is where I + have gone wring my @count_word = map{ $count{$_} || 0 } qw($count{$word}); # I think T +his is where I have gone wring
Yes, those lines don't make a great deal of sense. Perhaps you want something more like this?
my @word = keys %count; my @count_word = map{ $count{$_} || 0 } @word;
In reply to Re: hbar or bar chart for my top 20 mail users with GD::Graph::hbars or GD::Graph::bars
by hippo
in thread hbar or bar chart for my top 20 mail users with GD::Graph::hbars or GD::Graph::bars
by theravadamonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |