Oct 1, 2007, 7:20 AM
Post #1 of 2
Help with arrays
I have a method that runs an SQL SELECT statement and returns an array of results. When I run the SQL directly in SQL Developer, I get the results I expect (2 results). However, in Perl, when I try to display the contents of the array, this is what gets displayed: ARRAY(0x3ab8f98). I don't know what I'm doing wrong, but here's the code that should display the array:
my @case_list = $dbh->selectall_arrayref($SQL);
my $list = join(', ', @case_list);
Can anybody help?