in reply to Re: Finding out what computer does NOT have certain data
in thread Finding out what computer does NOT have certain data
open (DATA, "One.txt") or die "One.txt: $!"; while (my $line = <DATA>) { chomp($line); if ($line =~ /^KB\d{6}/) { $computers{$computer}{$line}++; } else { $computer = $line; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Finding out what computer does NOT have certain data
by Sunnmann (Acolyte) on Sep 01, 2006 at 16:53 UTC |