Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^2: passing arrays

by ScOut3R (Sexton)
on Apr 19, 2008 at 17:40 UTC ( #681677=note: print w/replies, xml ) Need Help??

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);
    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. :)

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://681677]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (1)
As of 2021-09-18 20:06 GMT
Find Nodes?
    Voting Booth?

    No recent polls found