Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Your post appears to be confusing the concept of rows and columns.
I would recommend adding an additional parameter to _all_data(). The third parameter could be an arrayref. So the function could look like this: Now you have to pass the function a list of columns you want it to return. As hdb mentioned, passing {} to fetchall_arrayref will return all columns. With this above version of _all_data, if you do not pass a third parameter, you will essentially be passing {} to fetchall_arrayref and therefore get all columns. In reply to Re: My doubts about using fetchall_arrayref
by CountOrlok
|
|