in reply to Re: Re: Re: Matching values in array
in thread Matching values in array

It does not work with grep, why?.. who knows. The matching is working now, I use your
chomp(my @PatternArray = map { /^\s*$/ ? () : $_ } <DATA>);
to read my passwd from the text to the array and I using the following to match
my %PassValues; @PassValues{@PasswordsArray}=(); if (exists $PassValues{$passwordKey}){ my $count = $passwordKey; $frequency{$count}++; }