Re: Issue with references and array slice with one member !

2008-10-31 Thread Chas. Owens
On Fri, Oct 31, 2008 at 05:46, Amit Saxena <[EMAIL PROTECTED]> wrote: snip > I used "${$row}[0]", "${$row}[1]" etc one by one to get all the columns for > a particular code. On one of the production code which I am working, they > have used "@{$row}[0]" , "@{$row}[0]" instead of earlier. The result

Issue with references and array slice with one member !

2008-10-31 Thread Amit Saxena
Hello all, Recently I faced one scenario with references and array slice in perl. I used following program to retrieve the rows from a table in Oracle using Perl DBI. As shown in the program, I did following steps to retrieve the rows :- - used "fetchall_arrayref" to get the array reference