in reply to Re^4: Formatting of printed SQL Query output
in thread Formatting of printed SQL Query output
You have blank lines or some such garbage in @rows.
I strongly recommend that you use strictures (use strict; use warnings;). If you had warnings turned on you would have seen warnings like:
Use of uninitialized value in printf at noname.pl line 16.
interspersed through your output. Do you need to chomp your lines before they are added to the array?
|
|---|