Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Answer: How can i print N repeated characters?

( #372277=categorized answer: print w/ replies, xml ) Need Help??

Q&A > strings > How can i print N repeated characters? contributed by gaal

print '-' x 5;

Comment on Answer: How can i print N repeated characters?
Download Code
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2014-10-25 10:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (142 votes), past polls