|Perl: the Markov chain saw|
Formatting Outputby jwalker1960 (Initiate)
|on Oct 11, 2012 at 17:27 UTC||Need Help??|
jwalker1960 has asked for the
wisdom of the Perl Monks concerning the following question:
I am using Text::CSV to read in data from a CSV file. this works well enough, but the output looks less than pretty.
Here is the perl code I'm using:
Here is a sample of data from the CSV file:
When I use my perl script to parse this, here is what I get:
As you can see, the columns don't line up well to make it readable.
Here is what I'd like it to look like:
Account Login Name Password Web Site Comments Google Docs george123 F0oB@r http://www.google.com/docs The GoodleDocs site Amazon george123 fo0bA7 http://www.amazon.com/kindle The Amazone Kindle site Apple george123 mM_B39Aa https://www.apple.com/accountmanagement My Apple account
I haven't been able to figure out how to get it formatted all purdy like it is above and would appreciate any help you could give