Perl Programming | ||
---|---|---|
String Operators | ||
$bark = "Woof!"; $bark .= " "; # Append a space $bark x= 5; # Repeat 5 times print "The dog barked: $bark\n"; The dog barked: Woof! Woof! Woof! Woof! Woof! |
||
Previous | http://stuff.mit.edu/iap/perl/ | Next |