in reply to Re^4: underline variable width column headings
in thread underline variable width column headings
The easiest way that I can think of to handle this is to put in the extra spaces as an explicit extra step, like this:
push @line, " " x ( 2 - length scalar @{ $trigraphs{$k} } ) . colored( scalar @{ $trigraphs{$k} }, 'underline' ) . colored( $k, 'underline' ) . colored( scalar keys %{ $flanks{$k} }, 'underline' ) . " " x ( 2 - length scalar keys %{ $flanks{$k} } );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: underline variable width column headings
by wlegrand (Initiate) on Dec 19, 2006 at 01:51 UTC |