Home
Perl
Array
CGI
Class
Data Type
Database
File
GUI
Hash
Language Basics
Network
Regular Expression
Report
Statement
String
Subroutine
System Functions
Win32
XML
Menu
Repetition « String « Perl
Perl
String
Repetition
1.
Repetition operator, marked with an x.
2.
Repetition; print 10 stars
3.
brackets and Repetition operator
4.
Use Repetition operator in conjunction with concatenation.
5.
String multiply operator
6.
If you want to draw a horizontal line made up of hyphens:
7.
x times pattern : Repeat a string x times
8.
Mix string multiplication operator and number multiplication