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.
Back to
Seekers of Perl Wisdom