Re: Perl fetchrow_arrayref

2002-12-07 Thread harm
On Sat, Dec 07, 2002 at 02:08:28PM -0500, Amittai Aviram wrote: > I have been learning a bit about the Perl DBI MySQL API. This API offers > several ways of fetching the results of a query. Among these, > fetchrow_array returns a numbered array, while fetchrow_arrayref returns a > reference to an

Perl fetchrow_arrayref

2002-12-07 Thread Amittai Aviram
I have been learning a bit about the Perl DBI MySQL API. This API offers several ways of fetching the results of a query. Among these, fetchrow_array returns a numbered array, while fetchrow_arrayref returns a reference to an array. When would you want to use a reference to an array rather than