in reply to Re: Concatenating strings with tabs between and returning the result
in thread Concatenating strings with tabs between and returning the result
Update: switched order on comparison operands.sub concat { my @s = @_; for (@s) { $_ .= "\t" if 8 > length; } return join "\t", @s; }
Makeshifts last the longest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re^2: Concatenating strings with tabs between and returning the result
by poj (Abbot) on Jan 19, 2003 at 12:11 UTC | |
by Aristotle (Chancellor) on Jan 19, 2003 at 12:25 UTC | |
by Anonymous Monk on Jan 19, 2003 at 15:14 UTC |