in reply to
Re^2: Print string in same line
in thread
Print string in same line
You're right, So what I did is get the difference (if there are any) of the number of characters of the previous string to the next to identify the number of spaces to be added in the shorter strings...
Comment on
Re^3: Print string in same line
Replies are listed 'Best First'.
Re^4: Print string in same line
by
massa
(Hermit)
on Jul 23, 2008 at 20:12 UTC
Remember to use
Text::CharWidth::mbswidth
instead of
length
if you use unicode...
[]s, HTH, Massa (κς,πμ,πλ)
[reply]
[d/l]
[select]
In Section
Seekers of Perl Wisdom