Good point! After a little experimentation, it appears that the following also works:
for my $line (@lines) { my @fields = split ' ', $line; $fields[1] .= ' ' x (50 - length $fields[1]); $line = join(' ', @fields); }
Thanks, nice catch!
Athanasius <°(((>< contra mundum
In reply to Re^4: Increasing a field size for a record
by Athanasius
in thread Increaing a field size for a record
by Thomas Kennll
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |