Any suggestions as to how to simplify/condense this code snippet ?
my %Y; while (<>) { ... my ($y) = ... ; next unless $y; if(@ARGV) { foreach (@ARGV) { $Y{$y}++,next if $y eq $_; } } else { $Y{$y}++ } }
In reply to Code review by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |