Think about Loose Coupling | |
PerlMonks |
Mis-aligned Data Outputby rgwest61 (Initiate) |
on Jun 08, 2015 at 23:43 UTC ( [id://1129563]=perlquestion: print w/replies, xml ) | Need Help?? |
rgwest61 has asked for the wisdom of the Perl Monks concerning the following question:
Being new to Perl (converting my first Perl script that previously executed on Solaris server to Linux server) I have run into an issue where the data being displayed to main window does not line up under associated headers. Original code did not work and I attempted to use tab formats within sprintf with failing success. My application reads in multiple rows of data from Oracle database with various column types (text, floating, int, ...) for which the values for a specific column can be of different length for the rows being retrieved. I have read from other posts that the best option to correctly display such data is to use Perl Format. Before I go down the path to redesign and rewrite the script to use Perl Format I need to know that it supports the following in addition to displaying data headers and data nicely aligned:
1) Display of security classification header in addition to data headers
2) Selection of row(s) to perform processing on.
Thanks for any/all assistance.
2)
Back to
Seekers of Perl Wisdom
|
|