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)

In reply to Mis-aligned Data Output by rgwest61

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.