String operators
if statement - comparing values
String repetitionexamples/scalars/string_repetition.p6 #!/usr/bin/perl6 use v6; my $z = "Hello World! "; # x is the string repetition operator my $q = $z x 3; say "'$q'"; # 'Hello World! Hello World! Hello World! ' Copyright 2006, 2007, 2008, 2009, 2010 Gabor Szabo http://szabgab.com/ Index | TOC |
Follow me: