Doraemon has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (strings)
How can i print N repeated characters? (in one single line's code or as simple as possible)
e.g
e.g
thanxprint repeat(5,'-'); # print out '-----'
Originally posted as a Categorized Question.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How can i print N repeated characters?⭐
by gaal (Parson) on Jul 07, 2004 at 04:46 UTC | |
Re: How can i print N repeated characters?
by lithron (Chaplain) on Mar 10, 2006 at 15:37 UTC | |
by ptum (Priest) on Mar 10, 2006 at 17:43 UTC |
Back to
Seekers of Perl Wisdom