in reply to Re: passing arrays
in thread passing arrays

I know grep! :) I'm passing the the $in variable to readlog() from csv() and returning the @mails array from it.
while (my $in = @data) { my @mails = readlog($in);
But i think nothing is coming back.

Replies are listed 'Best First'.
Re^3: passing arrays
by grep (Monsignor) on Apr 19, 2008 at 17:47 UTC
    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...
      You're absolutely right. Now the values are passing back, but i have a new problem to sort out. :)