Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have an array of an array (multiple lines of split() information) that I would like to return in such a fashion that fetchrow does (in OOP). Is this just a variable incrementing that returns the next line after each call? I'd hope there would be a more elegant solution you brilliant people could help me with. Thankswhile (($blah,$blah,$blah) = $cursor->fetchrow){..}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Returning Array of Arrays (OOP)
by Fastolfe (Vicar) on Dec 30, 2000 at 06:54 UTC | |
|
Re: Returning Array of Arrays (OOP)
by runrig (Abbot) on Dec 30, 2000 at 11:32 UTC |