|
|
| There's more than one way to do things | |
| PerlMonks |
Re^4: fetchrow_arrayby kutsu (Priest) |
| on May 27, 2005 at 16:36 UTC ( #461135=note: print w/ replies, xml ) | Need Help?? |
|
bind_columns is binding columns ;), seriously though: NAME_lc are the lower case column names from the database, region and sales in this case, and these are in an array ref which is used as the keys for %row (using a hash slice). The reason it uses bind_columns is that it processes the columns one by one (allowing you to have a normal hash not a hash of an array). So it's doing something like this:
I hope this helps "Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||