http://qs1969.pair.com?node_id=472168


in reply to CLI formatting

An example for using perls builtin format (see http://perldoc.perl.org/perlform.html for details):
my ($name, $type, $len, $null, $pri, $inc); format STDOUT_TOP = Name ---------------- Type ------ Len--- Null Pri- Inc- . format STDOUT = @<<<<<<<<<<<<<<<<<<<| @<<<<<<<<<| @>>>>| @>>| @>>| @>>| $name, $type, $len, $null, $pri, $inc . for (@structure) { ($name, $type, $len, $null, $pri, $inc) = ( $_->{f_name}, $_->{f_type}, $_->{f_length}, $_->{f_nullable}, $_->{f_pri_key}, $_->{f_autoinc}, ); write (STDOUT); }
It's easy to use, and it does all you want, so why do you search another module?