We don't bite newbies here... much | |
PerlMonks |
Re: Returning two records with SELECT statement and then printing to fileby jrsimmon (Hermit) |
on Dec 07, 2007 at 13:16 UTC ( [id://655641]=note: print w/replies, xml ) | Need Help?? |
You're storing the return value of fetchrow_array in @regions_A, but then printing $_. Are you sure that fetchrow_array populates $_? Even if it turns out that $_ does get populated when fetchrow_array returns, you should use @regions_A while printing to make your code more readable.
In Section
Seekers of Perl Wisdom
|
|