in reply to Output to table

Check out Perl's format options or the Text::Table module on CPAN.

Replies are listed 'Best First'.
Re^2: Output to table
by Yoda_Oz (Sexton) on Jan 26, 2006 at 01:05 UTC
    rather not use modules, sorry. i want to be able to write it myself.
      rather not use modules, sorry. i want to be able to write it myself.
      Sure, it's a nice learning experience to write something yourself. Two comments:
      • format isn't a module. It comes with the perl core.
      • It's usually a waste of time and resources to solve a problem that has already been solved. If a module is readily available on CPAN, it's usually a good idea to use it, because chances are that it has been community-tested (no guarantees, though) and it's difficult to come up with a better solution if you start from scratch.