sprintf '%*s', length $x, $x
Also, consider using Text::Table. It's worth it.
-Paul
In reply to Re: Dynamical formating with sprintf?
by jettero
in thread Dynamical formating with sprintf?
by tamaguchi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |