in reply to Re^2: Print Array items in Fixed width
in thread Print Array items in Fixed width

... W31801 is one table with 5 headers, some other tables will have 10 or more, so i needed variable length formatting
If you have "variable fixed widths", and a variable number of columns, then perlform is not the answer. But that wasn't the question you asked, either.

Replies are listed 'Best First'.
Re^4: Print Array items in Fixed width
by harishnuti (Beadle) on Aug 01, 2008 at 10:09 UTC

    correct, my question was to print table by table, so i put a question for one table sample data, now i extended this approach to all other tables, i store table data and header in hashes and print table by table, so your pack approach and ikegami's sprintf works well for me :o-)