- or download this
open( P, "<", "Two.txt" ) or die "Two.txt: $!";
my @patches = sort <P>;
...
my $seq_num = 0;
$patch_id{$_} = $seq_num++ for ( @patches );
- or download this
my %comp_patch; # will be a hash of arrays
my $comp_name; # will store most recently seen computer name
...
$comp_name = $_;
}
}
- or download this
for my $cname ( sort keys %comp_patch ) {
for my $pnum ( 0 .. $#patches ) {
...
unless ( defined( $comp_patch{$cname}[$pnum] ));
}
}