P is for Practical | |
PerlMonks |
Re: Multiple queries on DBI corresponding to multiple csv files?by huck (Prior) |
on Feb 18, 2019 at 11:19 UTC ( [id://1230086]=note: print w/replies, xml ) | Need Help?? |
I'll leave it to others to comment about using other modules to write csv files so proper quoting is performed and just discuss your imediate question This is untested, demonstration code Notice how i used an array of hashes to contain the table name and outfile file, then cycled thru it to do each table/outfile file pair Edit: Hippo was right "You've set @clumps as an arrayref but then treat as an array. Typo?" he saw it as
In Section
Seekers of Perl Wisdom
|
|