rastoboy has asked for the wisdom of the Perl Monks concerning the following question:
I use Template Toolkit all the time to create fancy HTML/CSS/JS output while keeping my code nice and clean. But now I've been tasked with creating a little system analysis script for our techs to log into servers, run, and get a quick readout on a bunch of system stats via ssh/bash commandline.
We don't want to waste a lot of time when logging into a new server, wgetting multiple files and having to install modules and such, so I'd like to keep this as "base perl" as possible. But at the same time I'd like to present a nice, clean, formatted output, preferably color coded in nice ASCII boxes and such.
Any tips for common modules or techniques I could utilize to do this? I just hate the idea of putting formatting info into the main body of my code, because I like to enjoy maintaining it :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tips on fixed-width output formatting?
by jethro (Monsignor) on Jul 21, 2010 at 10:49 UTC | |
by rastoboy (Monk) on Jul 22, 2010 at 01:47 UTC | |
|
Re: Tips on fixed-width output formatting?
by metaperl (Curate) on Jul 22, 2010 at 13:46 UTC |