...although that won't truncate elements that are too big :(It will if you use
The value after the dot gives a "maximum width".my $tmpl = "%-3.3s|%-4.4s|%-5.5s";
-- Randal L. Schwartz, Perl hacker
In reply to RE: RE: RE (2): pack / unpack woes
by merlyn
in thread pack / unpack woes
by agoth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |