Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Answer: How can i print N repeated characters?

by gaal (Parson)
on Jul 07, 2004 at 04:46 UTC ( #372277=categorized answer: print w/replies, xml ) Need Help??

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

print '-' x 5;

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2017-10-17 07:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (221 votes). Check out past polls.

    Notices?