in reply to Code review
Untested reduction, removed implicit $_ for clarity:
use strict; use warnings; my %Y = (); MAINLOOP: while (<>) { ... my ($y) = ... ; next MAINLOOP unless $y; $Y{$y}++; INNERLOOP: foreach my $arg (@ARGV) { next INNERLOOP if $y eq $arg; } }
|
---|