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...

Replies are listed 'Best First'.
Re^4: passing arrays
by ScOut3R (Sexton) on Apr 19, 2008 at 18:02 UTC
    You're absolutely right. Now the values are passing back, but i have a new problem to sort out. :)