Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
How can I do this in PERL??w = 5 p = 3 s = "abcdefg" printf "<%*.*s>\n", w, p, s
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: printf() formats
by sauoq (Abbot) on Sep 04, 2002 at 19:45 UTC | |
|
Re: printf() formats
by Ovid (Cardinal) on Sep 04, 2002 at 19:49 UTC | |
|
Re: printf() formats
by cLive ;-) (Prior) on Sep 05, 2002 at 08:10 UTC |