You can use the fact that map returns a value:
my $cnt = map $line =~ /$_/, keys %href;
In reply to Re: Map function slowing down program
by jwkrahn
in thread Map function slowing down program
by ashnator
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |