http://www.perlmonks.org?node_id=681680


in reply to Re^2: passing arrays
in thread passing arrays

Ahhhh... this is why you should reduce your code to the problem. I did not see that buried in the rest of your code.

you want a foreach

foreach my $in (@data) { my @mails = readlog($in);
grep
One dead unjugged rabbit fish later...