Help for this page
while (my ($location, $devices) = each %devicecount) { ... foreach my $line (@workingdata) { ...
if (/\Q$location\ETEXT/) {